Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepThePatel committed Aug 19, 2024
2 parents 26dafd7 + 61013b7 commit 8407527
Showing 1 changed file with 47 additions and 11 deletions.
58 changes: 47 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,59 @@ Blackjack console game created using the .NET Framework programmed in C#.

*All code is written and owned by me.*

<h2>Gameplay</h2>
> NOTE: To play the game without creating an account, download the [Blackjack v1.3.0 Release](https://github.com/DeepThePatel/Blackjack/releases/tag/v1.3.0)
<h2>Installation</h2>

*You may choose either of the three methods that best suits you*

To launch the game:
1. Download the [latest release](https://github.com/DeepThePatel/Blackjack/releases) ZIP for your respective OS
<br>

**Download the .ZIP**
1. Download the [latest release](https://github.com/DeepThePatel/Blackjack/releases) .ZIP folder for your respective OS
2. Unzip the folder in your desired location
3. Run the ```Blackjack``` application
3. Run the Blackjack application

Alternatively;
1. Clone the project into a folder on your computer
2. Ensure you have the .NET SDK installed
3. Open the project folder in a new terminal in Visual Studio
4. Run ``` dotnet build ```
5. Then ``` dotnet run ```
<br>

**Download the Docker Image**
1. Run the command below in your terminal
```
docker pull ghcr.io/deepthepatel/blackjack:latest
```
2. Run the command below. The ```-it``` flag ensures the image runs in interactive mode. You may rename ```blackjack-container```
```
docker run -it --name blackjack-container ghcr.io/deepthepatel/blackjack:latest
```

*To run the app again with the existing container:*
```
docker start blackjack-container
```
```
docker attach blackjack-container
```

> NOTE: After running the attach command, the terminal may appear to do nothing, press ```Enter``` to see the application running
<br>

> NOTE: To play the game without creating an account, download the [Blackjack v1.3.0 Release](https://github.com/DeepThePatel/Blackjack/releases/tag/v1.3.0)
**Clone the Repository**
1. Clone the project into a folder on your computer
```
git clone https://github.com/DeepThePatel/Blackjack.git
```
2. Ensure you have the [.NET SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) installed
3. Open the project folder in a new terminal in Visual Studio
4. Download the [necessary packages](https://github.com/DeepThePatel/Blackjack/wiki/Software-Documentation#libraries-and-packages)
5. Run
```
dotnet build
```
6. Then
```
dotnet run
```

<br>

Expand Down

0 comments on commit 8407527

Please sign in to comment.