Awesome Open Source
Awesome Open Source

dotnet-console-games

flat Discord License

A collection of game examples implemented as .NET console applications primarily for providing education and inspiration. :)

Game *Complexity Notes
Rock Paper Scissors 0 Language C# Target Framework Build
Whack A Mole 1 Language C# Target Framework Build
Tic Tac Toe 1 Language C# Target Framework Build
Simon 1 Language C# Target Framework Build
Beep Pad 1 Language C# Target Framework Build
Hangman 2 Language C# Target Framework Build
Connect 4 2 Language C# Target Framework Build
Minesweeper 2 Language C# Target Framework Build
Wumpus World 2 Language C# Target Framework Build
Rythm 2 Language C# Target Framework Build
Type 2 Language C# Target Framework Build
Snake 3 Language C# Target Framework Build
Hurdles 3 Language C# Target Framework Build
Pong 3 Language C# Target Framework Build
Flappy Bird 3 Language C# Target Framework Build
Tanks 4 Language C# Target Framework Build
Helicopter 4 Language C# Target Framework Build
2048 4 Language C# Target Framework Build
Sudoku 4 Language C# Target Framework Build
Fighter 5 Language C# Target Framework Build
Maze 5 Language C# Target Framework Build
PacMan 5 Language C# Target Framework Build
Role Playing Game 6 Language C#  Build
Hearts N/A still in development
Tetris N/A still in development

*Complexity: a relative rating for how complex/advanced the source code is.

Getting Started

Download this repository and unzip the contents

There are no custom build processes. dotnet-console-games should build with any standard .NET build process, but one of the following is recommended:

📄 Visual Studio [Expand]

  1. Install Visual Studio if not already installed.

  2. Open the dotnet-console-games.sln file in Visual Studio.

Note This is optional, but here are some recommended settings you change in Visual Studio.

📄 Visual Studio Code [Expand]

  1. Install the .NET SDK if not already installed.

  2. Install Visual Studio Code if not already installed.

  3. Open the root folder of the repository in Visual Studio Code.

Note The following files are included in the repository:

  • .vscode/extensions.json recommends Vistual Studio Code extension dependencies
  • .vscode/launch.json includes the configurations for debugging the examples
  • .vscode/settings.json automatically applies settings to the workspace
  • .vscode/tasks.json includes the commands to build the projects

Note Visual Studio Code Extensions (will be prompted to install these when you open the folder):

  • ms-dotnettools.csharp C# support

Get Involved

The easiest way to support dotnet-console-games is to star the github repository.

If you have any questions, you can start a new discussion.

Have a sugguestion? Open an issue.

You can chat with the developer(s) on discord: Discord

Want to contribute? This repository welcomes contributions.

  1. Fork this repository
  2. Make some changes
  3. Open a pull request

If you like this repo, you may also be intersted in:
https://awesomeopensource.com/project/ZacharyPatten/dotnet-blazor-games


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Sharp (278,342
C Sharp (278,342
Game (18,550
Dotnet (7,714
Example (4,673
Console (1,875
Tic Tac Toe (888
Snake (472
Sudoku (464
Pacman (357
Minesweeper (352
Maze (340
Flappy Bird (275
Pong (262
2048 (245
Console Game (210
Hangman (161
Related Projects