snekjs2
v1.0.5
Published
A terminal-based Snake implementation written in JavaScript (Node.js) ๐
Downloads
7
Readme
๐ Snake2D.js ๐
An ambitious terminal-based javascript implementaion of the snake game, based on Tania Rascia's Snek.js.
Installation
Requirements:
On the terminal, run:
Manual
Use the arrow keys (โ
, โ
, โ
, โ
) or W
A
S
D
to navigate the snake up, down, left, or right. Eat the red dot to gain points. If the snake collides with the wall or its own tail, it's game over. Press ENTER
to restart, and Q
, ESCAPE
or CTRL
+ C
to quit the game.
Source Code
Acknowledgements
Author
Clodo
License
This project is open source and available under the MIT License.