Created
April 7, 2017 18:58
-
-
Save jamsterwes/89c9191fa9ef8b3f7f165b7cf897d4ba to your computer and use it in GitHub Desktop.
Snake hack - click play on coolmath's HTML5 Snake, and before you make a first move, run this in the JS console, you will not be disappointed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i = 0; i < 2000; i++) {mySnakeBoard.grid[Math.floor(Math.random() * 28)][Math.floor(Math.random() * 39)] = -1;} |
VM343:1 Uncaught ReferenceError: mySnakeBoard is not defined
at :1:33
In Console Tab, Change "top" to "html5game(play)" in a drop down then put in the code press enter and play the game 💯
doesn't work for me please help
Sadly, cool math updated the game and there seems to be no way to do any tricks of this kind to it anymore :(
Im working on a updated version of this if you have any advice my discord is bahboosha#6969
3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works!