Correct a) WW_pointeraddon as per WW_cardpointer b) NPAC from Maryland c) dynamic layer creation d) Oracle e) Tell Deepak why Layers Tricky f) Set up CRPC Chapter 2 -- Confirm with Jack I write? g) Neil -- replace Foxhome7 with CRPC money (basic 400Mhz Dell Windows NT) h) Computational Science Exams i) Set up GEM chapter j) Thompson Request TRICK Has N Players with Card Pack dealt between Them Oracle but NOT pointer PACK Is started Facedown as in memory no Oracle or Pointer (Oracle available before game started) loop over players Cope with Card redistribution from a previous Snap Dealer Cleans up PACK, Turns over next card -- sends Snap Initiate/Nothing Message if appropriate Nondealer recieves message -- Turns over card, cleans up PACK Both Dealer/Non Dealer If No snap -- waits WW_snapnowait=3 seconds, announces this If Snap -- if WW_snapreshuffle -- shuffles packs If > 1 player per client,loop over players Starts appropriate card face up moving according to parameters WW_flyinginterval = 500 milliseconds WW_flyingdx = 100 WW_flyingdy = 100 Run this setInterval either till flying card caught or for WW_flyloopmax = 20 steps Calculate score = Catch time in Milliseconds or 2*WW_flyloopmax*WW_flyinginterval if not caught Add WW_flyingpenalty = 1000 for each card hit by mistake Send Scores and "catch" flags to dealer If no object caught, then ignore snap and proceed Dealer accumulates Scores and sends in next card turning message This also signifies end of game Apart from parameter setting and game start messages (essentially as before) Only messages are Card Turn / Redistribute / Game Over from dealer Scores/Catch from non dealer to dealer Note Need to record Tricks Totaled and Time Score WW_havepointer WW_haveoracle WW_havecards Oracle Never Shared -- results of Oracle can be WW_transmitpointer WW_transmitcards Load .js file. Define all layers dynamically set WW_isloaded Register Start Oracle setInterval if necessary WW_oracleleft WW_oracletop are relative to scrolled page In "click" analysis Discover if "flying" "Oracle" "Pointer" "Cards" "Otherwise" Only Oracle has keydown options Oracle Pointer Cards can be dragged