Three modes of snake game were designed, which were called free mode, challenge mode and barrier model expectively.
when you click one mode, it will come into the game interface after 3 seconds.
Clicking the direction button to move the snake and press spacebar to pause.
Be careful, the speed of the snake will get faster and faster as time going.
I wish you will enjoy this game.
And you can download through the following command git clone https://github.com/zhaoyunyunyun/snake/
or
you can download .zip directly.