Skip to content

NeoCoderDev/C-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Snake Game in C#

This is a simple console-based implementation of the classic Snake game written in C#.

Control the snake to eat food, grow longer, and avoid hitting the walls or yourself. The game runs in a console window and supports real-time movement with arrow keys.

#Project Structure

  • Snake.csproj – Project file for the .NET build system
  • Settings.cs – Configuration for board size, game speed, and colors
  • Program.cs – Entry point of the game
  • Other .cs files – Contain logic for rendering, movement, collision, and scoring

#Technologies Used

  • C# (.NET)
  • Console-based UI
  • Object-Oriented Programming

How to Run

  1. Make sure you have .NET SDK installed.
  2. Open terminal in the project folder.
  3. Run the game:
dotnet run

About

Mini game created with C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages