random seed (simple)
every time you click "draw" it uses the next two "random" numbers in the array.
click "remember" to take a snapshot of the drawn line.
enter a new value into the field on the left and click "reset index", then next time you click
draw it will start using that index. Note: because the line drawing uses two random numbers,
you'll probably want to stick with just even numbers when reseting the index.
random seed (applied):
every time you click "draw" it draws "random" shapes.
reset the random seed (to the number in the field) then start clicking "draw" again... it will draw the same exact shapes.
move the boxes around and notice how the actual values get rounded off (to 2 digits) and further rounded off as a single character.
click "round off" to see the boxes moved to the rounded off locs.
because MSN Messenger games can't send more than 120 messages per minute,
this demo shows how no matter how fast you click (either brown box) messages (or groups of messages)
only get sent on intervals.
replace identical messages:
similar to the "message frequency" demo, this one only sends messages on a set frequency,
however, also notice that if the message changes (say from "versus" to "cooperative" and back to "versus")
then only the last setting will be sent (not all the changes).
this one is sort of hard to demo... basically, you can drag the brown square around...
if the player on the left moves it (say, left) and then (before that message is received on the right)
the right player moves it to the right... messages will cross paths and the two players will
not be looking at the same end result.
click the "Q" to simulate one player requesting to quit. The other player sees the quit dialog
but of he walks off to get coffee, the first player is left "greiving".
click the intutive little black square to see one solution--after clicking that black square--the
quit dialogs all come with a countdown which will timeout (and click the default answer) if the
second player doesn't respond.
last update: 23 April 2008