The classic "Snake" game, written in C# for the console. Eat as many apples ๐ as you can, but watch where you go!
***********************************
*@ O *
* *
* *
* *
* *
* *
* *
* *
* *
* *
***********************************
Score: 0
To stop the game, press Escape
To restart the game, press R- Use the arrow keys to move the snake.
- Collect apples (red
O) to score points. - Avoid the walls โ hitting one ends the game immediately.
| Action | Key |
|---|---|
| Move Up | Up Arrow |
| Move Down | Down Arrow |
| Move Left | Left Arrow |
| Move Right | Right Arrow |
| Restart Game | R |
| Quit Game | Escape |
- The game is console-based and works best on Windows.
- The console should support colors.
- The snake does not grow and there is no self-collision.
This project is open-source under the MIT License.