Skip to content

danielbg14/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages