SayedHa.Blackjack.Cli 0.0.10

dotnet tool install --global SayedHa.Blackjack.Cli --version 0.0.10                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local SayedHa.Blackjack.Cli --version 0.0.10                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SayedHa.Blackjack.Cli&version=0.0.10                
nuke :add-package SayedHa.Blackjack.Cli --version 0.0.10                

A .NET 7 command line tool to play blackjack. After installing this tool run blackjack play to start the interactive game. You can enable the hint mode to provide hints as you play if you make any errors.

gif showing game play using blackjack play

dotnet CLI tool to play blackjack, more info coming soon here.

Installation

To install this tool you must have .NET 7 installed and execute the command below.

dotnet tool install --global SayedHa.Blackjack.Cli

After installing this tool, get started with blackjack play for an interactive game.

More info

Hint mode

When you start a game you will be prompted to enable hint mode. In this mode if you select an incorrect action based on blackjack basic strategy, you'll be notified and given a chance to correct it.

For example: screenshot showing the hint feature

Here the player selected to Stand but the correct action was to double down. The explanation for double down is also given as

Double on 10 unless dealer shows 10 or Ace when you hit.

For each incorrect action there is a specific description of the rule that should be applied to justify the correct action.

Session summary

When the hint mode is enabled when you are done playing a session summary will be displayed. It will display info including basic stats for the games played. You'll also be shown a summary of the errors played during the session, including the rule descriptions for error actions.

Credits

License

This project is using the AGPL-3.0-only license.

SayedHa.Blackjack is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SayedHa.Blackjack is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with SayedHa.Blackjack. If not, see https://www.gnu.org/licenses/.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.10 103 9/10/2024
0.0.9 276 2/27/2023
0.0.8 221 2/24/2023
0.0.7 241 2/20/2023
0.0.6 241 2/19/2023
0.0.5 252 2/18/2023
0.0.4 253 2/18/2023
0.0.3 251 2/17/2023
0.0.2 273 2/16/2023