Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions PyGamesScripts/Black Jack Game/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Package/Script Name
### **blackjack_game**
## Short description of package/script
## Short description of package or script

<p>This is simple version of the black jack game you have given a list of two when your cards total is greater than 21 it will call black jack and you will loose,if your card's total is less than 17 you have to pick a card mandatory.At the end you will stop picking your card the game will end it will show what the are cards does the computer have.After that who has the greater number in total cards they will win</p> </br>
<p>This is a simple version of the black jack game. You have given a list of two. When your card's total is greater than 21, it will be called black jack, and you will lose. If your card's total is less than 17 you have to pick a card. At the end, you will stop picking your card, and the game will end. It will show what cards the computer has. After that, whoever has the greatest number in total cards will win</p> </br>

<p> This project is made to use the concept of list and functions properly></p>
<p> This project is made to use the concept of list and functions properly.</p>

# Setup
Copy the project to your local enviroment and that's all this code can be run on any python IDE.
Copy the project to your local environment, and that's all. This code can be run on any Python IDE.
## Detailed explanation of script, if needed

#### _**OUR GAME RULES**_
><ul>
><li> The deck is unlimited in size. </li>
><li> The Jack/Queen/King all count as 10.</li>
><li> The Jack, Queen, and King all count as 10.</li>
><li> The the Ace can count as 11 or 1.</li>
><li> cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]</li>
><li> The cards in the list have equal probability of being drawn.</li>
><li> cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10] </li>
><li> The cards on the list have an equal probability of being drawn.</li>
><li> Cards are not removed from the deck as they are drawn.</li>
><li> The computer is the dealer.</li>
</ul>
Expand Down