Game examples implemented in .NET console applications primarily for educational purposes.
A collection of game examples implemented as .NET console applications primarily for providing education and inspiration. :)
|Game|*Complexity|Notes| |:-|:-|:-| |Rock Paper Scissors|0| | |Whack A Mole|1| | |Tic Tac Toe|1| | |Simon|1| | |Beep Pad|1| | |Hangman|2| | |Connect 4|2| | |Minesweeper|2| | |Wumpus World|2| | |Rythm|2| | |Snake|3| | |Hurdles|3| | |Pong|3| | |Flappy Bird|3| | |Tanks|4| | |Helicopter|4| | |2048|4| | |Sudoku|4| | |Fighter|5| | |Maze|5| | |PacMan|5| | |Hearts|N/A|still in development| |Tetris|N/A|still in development|
*Complexity: a relative rating for how complex/advanced the source code is.
Download this repository and unzip the contents
There are no custom build processes.
dotnet-console-gamesshould build with any standard .NET build process, but one of the following is recommended:
> Install Visual Studio 2019 if not already installed.
> Open the :page_facing_up:
dotnet-console-games.sln file in Visual Studio.
> > Note This is optional, but here are some recommended settings you change in Visual Studio.
> Install the .NET Core SDK if not already installed.
> Install Visual Studio Code if not already installed.
> Open the :file_folder:
root folder of the repository in Visual Studio Code.
> > Note The following files are included in the repository:
> > -
.vscode/extensions.jsonrecommends Vistual Studio Code extension dependencies
> > -
.vscode/launch.jsonincludes the configurations for debugging the examples
> > -
.vscode/settings.jsonautomatically applies settings to the workspace
> > -
.vscode/tasks.jsonincludes 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
The easiest way to support
dotnet-console-gamesis to star the github repository.
Have a sugguestion? Open an issue.
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: