Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Yahtzee

by mt2k (Hermit)
on May 06, 2002 at 18:11 UTC ( [id://164396]=note: print w/replies, xml ) Need Help??

in reply to Yahtzee

The game iteself is perl-related.
The questions you have asked have nothing to do with the perl side of it.
Even though that statemenet is true...

jotti said:

I want to test how to implement multiplayer facilities with browser windows redrawn only wen needed, using only HTML with frames

mt2k replies:

Impossible! You will have to use HTML's evil companion, JavaScript, or else you will have to use META refresh tags. META refresh is HTML-only as you said, but it cannot do "only wen needed". Frames are also disgusting. For an ugly demonstration of the evil JavaScript brings, try out mt2k's home node with JavaScript enabled and click around. (Works only in Internet Explorer). If this doesn't convince you of the evilness of javascript, then you are doomed!

Several Monks Scream:

That wasn't help, that was an advertisement for your home node!

mt2k screams back:

Wow, are you smart! First, have an award for Smart Monk of the Week and then notice that it did give him some info too :)

Update: Whoops, you caught me while I am updating my home node some more. So yeah, it is under construction whoops!

Replies are listed 'Best First'.
Re: Re: Yahtzee
by jotti (Scribe) on May 07, 2002 at 13:52 UTC
    Quote from mt2k's home node:

    "Sorry, under construction!"

    My idea is to have a simple window showing a page constructed by a PERL script. The page includes a meta refresh tag that refreshes the page, say, every 5th second or even more often. There wouldn't be much to refresh on the page, except for a text saying "Control page". But the script creating the page would check the status of a game, a chat board or whatever, that runs in another window, not another frame in the same window. If the game window needs redrawing, the script would redraw it (using the target attribute), otherwise only the control page window would be redrawn.

    So this is a kind of faked only-when-needed redrawing technique. The visual game page might be devided into frames with one frame showing the game, another frame showing a chatboard.

    Im so sorry if this is not PERL enough, but I just started with Perl and I find this monastery very interesting. It's just that I havent found a forum where Perl, HTML, CGI, Yahtzee and frames can be discussed without someone immediately pointing out that "that's not a Perl subject" or "that's not a CGI subject".

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://164396]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-15 16:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found