Snake - In Terminal, build in JS
Requirements
- Draw a screen with a box
- Allow a snake to be controlled by a users keyboard (w,a,s,z)
- Allow the snake to grow as it eats
- As you navigate, the snake should follow the path
- If the snake hits a wall, the user loses
- If the snake hits itself, the user loses
- A score should be created for each 'bit' that the snake eats