This is a console-based Blackjack game written in C#. Click the badge above to see the latest build and execution status.
- Clone the repository using Git:
git clone https://github.com/ABergli/ConsoleBlackJack.git
- Open the project in Visual Studio (or another C# IDE like JetBrains Rider).
- Build and run the project by clicking Start (
▶️ ) in your IDE.
You can also use the provided script to build and run the project automatically:
- Make sure you have the .NET SDK installed on your machine.
- On Windows, navigate to the project folder in File Explorer and double-click
run.batto run the game.
-
If you don't want to use an IDE, you can run the project directly using the .NET CLI. First, make sure you have the .NET SDK installed:
dotnet --version
-
If .NET SDK is installed, navigate to the project folder in the terminal/command prompt:
cd ConsoleBlackJack -
Build and run the project using the following command:
dotnet run