dotnet-console-games
Cocona
Our great sponsors
dotnet-console-games | Cocona | |
---|---|---|
16 | 7 | |
754 | 3,013 | |
5.0% | - | |
8.5 | 5.8 | |
4 months ago | 6 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotnet-console-games
-
downloadable already made projects for practice
https://github.com/dotnet/dotnet-console-games ?
-
Dotnet-console-games (beginner-level coding project ideas)
I have been working on the https://github.com/dotnet/dotnet-console-games, which is a bunch of simple, open-source games written in C# with the goal of providing educational examples to new software developers. There are more than 40 games in the repository, and I plan on continuing to make more in the future, and contributions are very welcome. I also ported the games to the web using C#'s blazor webassembly so you can play the games right in the browser: https://dotnet.github.io/dotnet-console-games/.
I have gotten a lot of positive feedback from the C# community, but I wanted to share the repository here as I feel it could be helpful to other communities too. Even if you are not interested in C#, each of the games could be easily coded in other languages too. So, if you know someone who is learning to code and is looking for fun beginner-level coding projects maybe encourage them to give the repository a look.
Thanks. :)
-
Math Game Project
However if you don't want to use releases you can just use a dedicated branch that is not your source code branch. For example, in the dotnet-console-games repository, the source code is in the "main" branch and there is another branch called "binaries" that stores the compilation output. https://github.com/dotnet/dotnet-console-games. There is an action in github that automatically builds the code from the "main" branch and pushes the output to the "binaries" branch. That action is here: https://github.com/dotnet/dotnet-console-games/blob/main/.github/workflows/Binaries%20Deploy.yml
-
Gravity Console Game
Source Code: https://github.com/dotnet/dotnet-console-games/blob/main/Projects/Gravity/Program.cs You can also play it in your web browser here: https://dotnet.github.io/dotnet-console-games/Gravity
- Projects to learn C#
- Why websites?
-
How to clear text at a certain point in visual studio code
There is https://docs.microsoft.com/en-us/dotnet/api/system.console.setcursorposition, used very liberally in https://github.com/ZacharyPatten/dotnet-console-games
- Project Ideas
-
More C# Console Games
If anything here caught your interest, or if you know someone who is looking for fun beginner C# projects, I encourage you to check out the repo where all the games are open source: https://github.com/ZacharyPatten/dotnet-console-games.
-
Hello I am rather new to c# and was wondering the best projects for beginners. Would really appreciate it:)
Make a small game: rock paper scissors, snake, simon, flappy bird, an rpg, sudoku, etc. If you would like some examples I have some here: https://github.com/ZacharyPatten/dotnet-console-games
Cocona
-
.NET 8 Standalone 50% Smaller On Linux
yes its great good for cross-platform cmdline apps, i would recommend using Cocona https://github.com/mayuki/Cocona
- Best way to build a console app with command line parser and dependency injection?
-
ASP.NET Core updates in .NET 7 Preview 5
I've used Cocona for my personal cmd stuff now and it's definitely a better experience imo. It supports both minimal api style and controller-ish style.
-
Announcing .NET 7 Preview 2 – The New, ‘New’ Experience
They are taking sooooooo long to actually finish that library it’s annoying. This is the most ergonomic one i have found so far.
- What's your favorite command line arg parser?
- Cocona releases V2 (Micro-framework for .NET Core console application). [Not Mine]
-
My preferred .NET console stack – An opinionated view on .NET console apps
Cocona [1] is my command line parsing library of choice.
1. https://github.com/mayuki/Cocona
What are some alternatives?
dotnet-blazor-games - Game examples implemented in .NET blazor components primarily for educational purposes.
Command Line Parser - The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
OpenRA - Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
spectre.console - A .NET library that makes it easier to create beautiful console applications.
SnakeGame - This game was coded for a competition organized by Selman Kahya. https://www.youtube.com/watch?v=gnfzINMXCyA ~37.55
command-line-api - Command line parsing, invocation, and rendering of terminal output.
GameConsole2048 - A simple console app version of 2048 written in C#.
CSharpRepl - A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
Towel - Throw in the towel.
runtimelab - This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
prose - Microsoft Program Synthesis using Examples SDK is a framework of technologies for the automatic generation of programs from input-output examples. This repo includes samples and sample data for the Microsoft Program Synthesis using Example SDK.
Spectre.Console.Extensions - A library that extends Spectre.Console to build beautiful console apps.