|
|
|
|
|
by nathas
1616 days ago
|
|
Oh neat! You did the Harder version and didn't use the game's own code to check it. I find that with JS games it's better to imitate the game's exact logic and call it's functions to make sure the state is working/updates correctly. Of course, for how delightfully simple this one is, your approach is definitely faster/better! |
|
Just adding this information for the ones who don't know and like to know more about browser performance :)