{"id":14963621,"url":"https://github.com/dotnet/dotnet-console-games","last_synced_at":"2025-05-16T09:03:11.398Z","repository":{"id":37494453,"uuid":"233732978","full_name":"dotnet/dotnet-console-games","owner":"dotnet","description":"Game examples implemented as .NET console applications primarily for providing education and inspiration. :)","archived":false,"fork":false,"pushed_at":"2024-05-16T07:55:56.000Z","size":130485,"stargazers_count":904,"open_issues_count":12,"forks_count":147,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-04-08T20:17:29.249Z","etag":null,"topics":["2048","blazor","cli-game","console-game","csharp","dotnet","examples","flappy-bird","game","games","hangman","ideas","maze","minesweeper","pacman","rpg","snake","sudoku","terminal-game","wordle"],"latest_commit_sha":null,"homepage":"https://dotnet.github.io/dotnet-console-games/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-14T01:49:15.000Z","updated_at":"2025-04-08T19:15:45.000Z","dependencies_parsed_at":"2024-12-02T07:33:56.310Z","dependency_job_id":null,"html_url":"https://github.com/dotnet/dotnet-console-games","commit_stats":{"total_commits":767,"total_committers":17,"mean_commits":45.11764705882353,"dds":0.1590612777053455,"last_synced_commit":"5942b3f566ded952aca18fe66a313515a0c3bbe2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fdotnet-console-games","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fdotnet-console-games/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fdotnet-console-games/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fdotnet-console-games/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet","download_url":"https://codeload.github.com/dotnet/dotnet-console-games/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501555,"owners_count":22081528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2048","blazor","cli-game","console-game","csharp","dotnet","examples","flappy-bird","game","games","hangman","ideas","maze","minesweeper","pacman","rpg","snake","sudoku","terminal-game","wordle"],"created_at":"2024-09-24T13:31:53.778Z","updated_at":"2025-05-16T09:03:06.386Z","avatar_url":"https://github.com/dotnet.png","language":"C#","readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\".github/resources/animated-banner-credit.md\"\u003e\u003cimg width=\"600\" src=\".github/resources/animated-banner.gif?raw=true\" \u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n\tdotnet-console-games\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/dotnet/dotnet-console-games\"\u003e\u003cimg src=\".github/resources/github-repo-black.svg\" alt=\"GitHub repo\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://docs.microsoft.com/en-us/dotnet/csharp/\"\u003e\u003cimg src=\".github/resources/language-csharp.svg\" alt=\"Language C#\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://dotnet.microsoft.com/download\"\u003e\u003cimg src=\".github/resources/dotnet-badge.svg\" alt=\"Target Framework\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://discord.gg/4XbQbwF\"\u003e\u003cimg src=\".github/resources/discord-badge.svg\" alt=\"Discord\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"LICENSE\"\u003e\u003cimg alt=\"License\" src=\".github/resources/license-MIT-green.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/ZacharyPatten/Towel\"\u003e\u003cimg src=\"https://github.com/ZacharyPatten/Towel/blob/main/.github/Resources/UsingTowel.svg?raw=true\" alt=\"Towel\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\tGame examples implemented as .NET console applications primarily for providing education and inspiration. :)\n\u003c/p\u003e\n\n\u003e **Recommendation**\u003cbr/\u003e\n\u003e Play the games, pick a game you like, and try to code the game yourself from scratch.\n\n|Game|\\*_Weight_|Notes\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;|\n|:-|:-|:-|\n|[Guess\u0026nbsp;A\u0026nbsp;Number](Projects/Guess%20A%20Number)|0|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Guess%20A%20Number)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Guess%20A%20Number%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Rock\u0026nbsp;Paper\u0026nbsp;Scissors](Projects/Rock%20Paper%20Scissors)|0|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Rock%20Paper%20Scissors)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Rock%20Paper%20Scissors%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Dice\u0026nbsp;Game](Projects/Dice%20Game)|0|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Dice%20Game)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Dice%20Game%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_[Community\u0026nbsp;Contribution](https://github.com/dotnet/dotnet-console-games/pull/31)_\u003c/sup\u003e|\n|[Flash\u0026nbsp;Cards](Projects/Flash%20Cards)|0|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Flash%20Cards)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Flash%20Cards%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Quick\u0026nbsp;Draw](Projects/Quick%20Draw)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Quick%20Draw)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Quick%20Draw%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tug\u0026nbsp;Of\u0026nbsp;War](Projects/Tug%20Of%20War)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tug%20Of%20War)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tug%20Of%20War%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Whack\u0026nbsp;A\u0026nbsp;Mole](Projects/Whack%20A%20Mole)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Whack%20A%20Mole)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Whack%20A%20Mole%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tic\u0026nbsp;Tac\u0026nbsp;Toe](Projects/Tic%20Tac%20Toe)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tic%20Tac%20Toe)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tic%20Tac%20Toe%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Simon](Projects/Simon)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Simon)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Simon%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Roll\u0026nbsp;And\u0026nbsp;Move](Projects/Roll%20And%20Move)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Roll%20And%20Move)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Roll%20And%20Move%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Beep\u0026nbsp;Pad](Projects/Beep%20Pad)|1|\u003csub\u003e[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Beep%20Pad%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e\u003csub\u003e\u003csub\u003e[![Warning](https://raw.githubusercontent.com/dotnet/dotnet-console-games/main/.github/resources/warning-icon.svg)](#)\u003c/sub\u003e\u003c/sub\u003e\u0026nbsp;_Only\u0026nbsp;Supported\u0026nbsp;On\u0026nbsp;Windows\u0026nbsp;OS_\u003c/sup\u003e|\n|[Draw](Projects/Draw)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Draw)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Draw%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tower\u0026nbsp;Of\u0026nbsp;Hanoi](Projects/Tower%20Of%20Hanoi)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tower%20Of%20Hanoi)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tower%20Of%20Hanoi%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Clicker](Projects/Clicker)|1|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Clicker)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Clicker%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Hangman](Projects/Hangman)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Hangman)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Hangman%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Lights\u0026nbsp;Out](Projects/Lights%20Out)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Lights%20Out)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Lights%20Out%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Wordle](Projects/Wordle)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Wordle)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Wordle%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Memory](Projects/Memory)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Memory)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Memory%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Connect\u0026nbsp;4](Projects/Connect%204)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Connect%204)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Connect%204%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Minesweeper](Projects/Minesweeper)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Minesweeper)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Minesweeper%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Wumpus\u0026nbsp;World](Projects/Wumpus%20World)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Wumpus%20World)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Wumpus%20World%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Rythm](Projects/Rythm)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Rythm)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Rythm%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Type](Projects/Type)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Type)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Type%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Drive](Projects/Drive)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Drive)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Drive%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Sliding\u0026nbsp;Puzzle](Projects/Sliding%20Puzzle)|2|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Sliding%20Puzzle)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Sliding%20Puzzle%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Snake](Projects/Snake)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Snake)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Snake%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Word\u0026nbsp;Search](Projects/Word%20Search)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Word%20Search)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Word%20Search%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Hurdles](Projects/Hurdles)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Hurdles)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Hurdles%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Pong](Projects/Pong)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Pong)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Pong%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Flappy\u0026nbsp;Bird](Projects/Flappy%20Bird)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Flappy%20Bird)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Flappy%20Bird%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Oligopoly](Projects/Oligopoly)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Oligopoly)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Oligopoly%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_[Community\u0026nbsp;Contribution](https://github.com/dotnet/dotnet-console-games/pull/72)_\u003c/sup\u003e|\n|[Reversi](Projects/Reversi)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Reversi)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Reversi%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Darts](Projects/Darts)|3|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Darts)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Darts%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Yahtzee](Projects/Yahtzee)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Yahtzee)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Yahtzee%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tanks](Projects/Tanks)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tanks)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tanks%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Helicopter](Projects/Helicopter)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Helicopter)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Helicopter%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[2048](Projects/2048)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/2048)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/2048%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Sudoku](Projects/Sudoku)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Sudoku)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Sudoku%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Mancala](Projects/Mancala)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Mancala)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Mancala%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Bound](Projects/Bound)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Bound)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Bound%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tents](Projects/Tents)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tents)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tents%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Battleship](Projects/Battleship)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Battleship)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Battleship%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Checkers](Projects/Checkers)|4|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Checkers)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Checkers%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_[Community\u0026nbsp;Contribution](https://github.com/dotnet/dotnet-console-games/pull/40)_\u003c/sup\u003e|\n|[Duck\u0026nbsp;Hunt](Projects/Duck%20Hunt)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Duck%20Hunt)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Duck%20Hunt%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_[Community\u0026nbsp;Contribution](https://github.com/dotnet/dotnet-console-games/pull/39)_\u003c/sup\u003e|\n|[Blackjack](Projects/Blackjack)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Blackjack)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Blackjack%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Fighter](Projects/Fighter)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Fighter)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Fighter%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Maze](Projects/Maze)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Maze)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Maze%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[PacMan](Projects/PacMan)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/PacMan)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/PacMan%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Gravity](Projects/Gravity)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Gravity)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Gravity%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Tetris](Projects/Tetris)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Tetris)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Tetris%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_[Community\u0026nbsp;Contribution](https://github.com/dotnet/dotnet-console-games/pull/89)_\u003c/sup\u003e|\n|[Shmup](Projects/Shmup)|5|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Shmup)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Shmup%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e\u003csub\u003e\u003csub\u003e[![Warning](https://raw.githubusercontent.com/dotnet/dotnet-console-games/main/.github/resources/warning-icon.svg)](#)\u003c/sub\u003e\u003c/sub\u003e\u0026nbsp;_Only\u0026nbsp;Supported\u0026nbsp;On\u0026nbsp;Windows\u0026nbsp;OS_\u003c/sup\u003e|\n|[Role\u0026nbsp;Playing\u0026nbsp;Game](Projects/Role%20Playing%20Game)|6|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Role%20Playing%20Game)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Role%20Playing%20Game%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e|\n|[Console\u0026nbsp;Monsters](Projects/Console%20Monsters)|7|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/Console%20Monsters)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/Console%20Monsters%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e*_Community\u0026nbsp;Collaboration_\u003c/sup\u003e\u003cbr/\u003e\u003csup\u003e\u003csub\u003e\u003csub\u003e[![Warning](https://raw.githubusercontent.com/dotnet/dotnet-console-games/main/.github/resources/warning-icon.svg)](#)\u003c/sub\u003e\u003c/sub\u003e\u0026nbsp;_Work\u0026nbsp;In\u0026nbsp;Progress_\u003c/sup\u003e|\n|[First\u0026nbsp;Person\u0026nbsp;Shooter](Projects/First%20Person%20Shooter)|8|\u003csub\u003e[![Play Now](.github/resources/play-badge.svg)](https://dotnet.github.io/dotnet-console-games/First%20Person%20Shooter)\u0026nbsp;[![Status](https://github.com/dotnet/dotnet-console-games/workflows/First%20Person%20Shooter%20Build/badge.svg)](https://github.com/dotnet/dotnet-console-games/actions)\u003c/sub\u003e\u003cbr/\u003e\u003csup\u003e\u003csub\u003e\u003csub\u003e[![Warning](https://raw.githubusercontent.com/dotnet/dotnet-console-games/main/.github/resources/warning-icon.svg)](#)\u003c/sub\u003e\u003c/sub\u003e\u0026nbsp;_Only\u0026nbsp;Supported\u0026nbsp;On\u0026nbsp;Windows\u0026nbsp;OS_\u003c/sup\u003e|\n\n\u003csup\u003e\\*_**Weight**: A relative rating for how advanced the source code is._\u003c/sup\u003e\n\u003cbr/\u003e\n\u003csup\u003e\\*_**[Community Contribution](https://github.com/dotnet/dotnet-console-games/issues?q=label%3A%22community+contribution%22)**: Special thanks to everyone who contributed games!_\u003c/sup\u003e\n\u003cbr/\u003e\n\u003csup\u003e\\*_**Community Collaboration**: Games where multiple members of the community participated in the development!_\u003c/sup\u003e\n\n\u003cp align=\"center\"\u003e\n\tYou can play the games in your browser:\n\t\u003cbr /\u003e\n\t\u003ca href=\"https://dotnet.github.io/dotnet-console-games\"\u003e\n\t\t\u003csub\u003e\u003cimg height=\"40\"src=\".github/resources/play-badge.svg\" alt=\"Play Now\"\u003e\u003c/sub\u003e\n\t\u003c/a\u003e\n\t\u003cbr /\u003e\n\t\u003csup\u003eHosted On GitHub Pages\u003c/sup\u003e\n\u003c/p\u003e\n\n## Local Setup\n\n[Clone the repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) or [download the repository](https://github.com/dotnet/dotnet-console-games/archive/main.zip) and unzip the contents. `dotnet-console-games` should build with any .NET build process, such as one of the following:\n\n\u003cdetails\u003e\n\u003csummary\u003e\nVisual Studio \u003csub\u003e[Expand]\u003c/sub\u003e\n\u003c/summary\u003e\n\u003cp\u003e\n\n\u003e 1. Install [Visual Studio](https://visualstudio.microsoft.com/) if not already installed.\n\u003e\n\u003e 2. Open the \u003csub\u003e[![File](.github/resources/file-16.svg)](#)\u003c/sub\u003e **`dotnet-console-games.slnf`** file in Visual Studio.\n\u003e\n\u003e 3. Run the games with the `Debug`-\u003e`Start Debugging` (default hotkey `F5`) option in the menu strip. You can switch games by right clicking the projects in the solution explorer and using the `Set as Startup Project` option.\n\u003e\n\u003e **Note** This is optional, but [here are some settings you can change in Visual Studio](https://gist.github.com/ZacharyPatten/693f35653f6c21fbe6c85444792e524b).\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\nVisual Studio Code \u003csub\u003e[Expand]\u003c/sub\u003e\n\u003c/summary\u003e\n\u003cp\u003e\n\n\u003e 1. Install the [.NET SDK](https://dotnet.microsoft.com/download) if not already installed.\n\u003e\n\u003e 2. Install [Visual Studio Code](https://visualstudio.microsoft.com/) if not already installed.\n\u003e\n\u003e 3. Open the \u003csub\u003e[![Directory](.github/resources/file-directory-16.svg)](#)\u003c/sub\u003e **`root folder`** of the repository in Visual Studio Code.\n\u003e\n\u003e 4. Run the games using the `Start Debugging` green triangle button (default hotkey `F5`) in the `Run and Debug` tab. You can switch games in the drop down next to the `Start Debugging` button.\n\u003e\n\u003e **Note** The following files are included in the repository:\n\u003e - `.vscode/extensions.json` \u003csub\u003erecommends Vistual Studio Code extension dependencies\u003c/sub\u003e\n\u003e - `.vscode/launch.json` \u003csub\u003eincludes the configurations for debugging the examples\u003c/sub\u003e\n\u003e - `.vscode/settings.json` \u003csub\u003eautomatically applies settings to the workspace\u003c/sub\u003e\n\u003e - `.vscode/tasks.json` \u003csub\u003eincludes the commands to build the projects\u003c/sub\u003e\n\u003e\n\u003e **Note** You will be prompted to install the necessary Visual Studio Code extensions when you open the folder:\n\u003e - **ms-dotnettools.csharp** \u003csub\u003eC# support\u003c/sub\u003e\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\nCommand Line \u003csub\u003e[Expand]\u003c/sub\u003e\n\u003c/summary\u003e\n\u003cp\u003e\n\n\u003e 1. Install the [.NET SDK](https://dotnet.microsoft.com/download) if not already installed.\n\u003e\n\u003e 2. Run the games using the [`dotnet run --project \u003cPROJECT\u003e` command](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-run) where `\u003cPROJECT\u003e` is the file path to one of the `.csproj` files. For example, running the `dotnet run --project Projects/Drive/Drive.csproj` command from the root of the repository will run the `Drive` game.\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n## Relevant Articles\n\n[Beginner's Guide To Console Input In C#](https://github.com/ZacharyPatten/ZacharyPatten/blob/main/Articles/2020-08-01.md) \u003csub\u003eAugust 1, 2020\u003c/sub\u003e\u003cbr/\u003e\n\n[dotnet Console Games Tips And Tricks](https://github.com/ZacharyPatten/ZacharyPatten/blob/main/Articles/2022-04-07.md) \u003csub\u003eApril 7, 2022\u003c/sub\u003e\n\n## Get Involved\n\nWant to show support? You can star the github repository.\n\nHave any questions? [Start a new discussion](https://github.com/dotnet/dotnet-console-games/discussions/new).\n\nFind a bug or have a suggestion? [Open an issue](https://github.com/dotnet/dotnet-console-games/issues/new).\n\nWant to chat with the developer(s)? [Join the discord server](https://discord.gg/4XbQbwF).\n\nWant to contribute? [Look for open issues you can help with](https://github.com/dotnet/dotnet-console-games/issues).\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n\t\u003csub\u003eSupported by the\u003c/sub\u003e\n\t\u003cbr /\u003e\n\t\u003ca href=\"https://dotnetfoundation.org\"\u003e\u003cimg width=\"300\" src=\"https://raw.githubusercontent.com/dotnet-foundation/swag/main/logo/dotnetfoundation_v4_horizontal.svg\" \u003e\u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":["Example projects","Source Generator"],"sub_categories":["GUI - other"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fdotnet-console-games","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet%2Fdotnet-console-games","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fdotnet-console-games/lists"}