ytb_snake_js icon indicating copy to clipboard operation
ytb_snake_js copied to clipboard

Added "Hard mode" and self-hit check

Open M1lkZ opened this issue 2 years ago • 0 comments

First of all, I want to mention that @fabriciobegalli inspired me to create a self-hit check. I made it based on his code that he had uploaded earlier in his pull request. Hard mode adds a button which makes the game field become smaller and walls solid so the game restarts when the snake hit it. I also made the original field size a little bigger for players comfort.

M1lkZ avatar May 03 '22 19:05 M1lkZ