Skip to content

Game examples implemented in .NET console applications primarily for educational purposes.

License

Notifications You must be signed in to change notification settings

zaminda/dotnet-console-games

 
 

Repository files navigation

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
Only Supported On Windows OS
Hangman 2 Language C# Target Framework Build
Wordle 2 Language C# Target Framework Build
Memory 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
Drive 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

*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://github.com/ZacharyPatten/dotnet-blazor-games

About

Game examples implemented in .NET console applications primarily for educational purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%