Restore state
Free Texas Holdem Poker game using HTML5, CSS and JavaScript
Brought to you by:
nilssonopel
Dear Nilsson Opel,
I have tested this poker game and thank you for sharing the code.
Even though this is not a typical "ticket" - I have a related question IMHO;
Did you use some kind of function or extra code to restore a game state?
The reason I am asking is that I feel the need for such a function to perform partial tests...and if you already have written this functionality - would you please share it?
Thank you in advance
No, not really. What I have done is to replace calls to Math.random (or functions calling Math.random) with some static value to make things deterministic/repeatable.
Thanks for taking time to reply. Appreciate it
I am rewriting this game with updated graphics...as soon as I am done, I'll send you a link!
Here is a screenshot from development;