Skip to content

Latest commit

ย 

History

History
56 lines (42 loc) ยท 1.33 KB

File metadata and controls

56 lines (42 loc) ยท 1.33 KB

๐Ÿ Snake Game

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

๐ŸŽฎ How to Play

  • Use the arrow keys to move the snake.
  • Collect apples (red O) to score points.
  • Avoid the walls โ€” hitting one ends the game immediately.

โŒจ๏ธ Controls

Action Key
Move Up Up Arrow
Move Down Down Arrow
Move Left Left Arrow
Move Right Right Arrow
Restart Game R
Quit Game Escape

๐Ÿ’ก Notes

  • 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.

๐Ÿ“ License

This project is open-source under the MIT License.