-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Builderbot2000/master
Documentation Grammar and Readability Revisions
- Loading branch information
Showing
5 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# BlackJack Game ♠️♥️♦️♣️ | ||
- Rules of the game: | ||
- Goal of the game is to add upto largest number without going over **21** | ||
- If the card in your hand adds up more than **21**, it's called a Bust causing immediate lose. | ||
- Goal of the game is to add up to the largest number without going over **21** | ||
- If the card in your hand adds up to more than **21**, it's called a Bust causing immediate lose. | ||
- **Jack**, **Queen** and **King**, all are considered or counted as number **10** | ||
- **Ace** is normally counted as **11** but if you're scoring 20 and showing up an ace, then it's counted as **1** | ||
- About the game: | ||
- In the start, both the players, here AI and player; are given two cards. | ||
- Ai's one card is shown to you while other remains hidden. | ||
- At the start, both players, here as represented by the AI and the player, are given two cards. | ||
- AI's one card is shown to you while other remains hidden. | ||
- Your own cards are visible to you. | ||
- Either you can ask the dealer to given one more card or pass the opportunity. | ||
- If you pass the opportunity then dealer shows you their card: | ||
- If either of you have score less than 17 then you have to take a card or if you pass then whomsover's score is higher but below 21 wins. | ||
- If both score 20, then its a draw | ||
- If either goes over 21, other wins | ||
- If either of you have score less than 17 then you have to take a card | ||
- Or, if you pass: whichever player's score is higher and below 21 wins. | ||
- If both score 20, then it is a draw | ||
- If either goes over 21, the other player wins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# 2.Tip Calculator🤑 | ||
A simple calculator that calculates how much tip you should pay given your bill and group size | ||
|
||
## *How to use:* | ||
1. Enter the total bill. | ||
2. Enter the tip percentage you would like to give. | ||
3. Enter the number of people that are willing to split the bill with you. | ||
Voila! | ||
|
||
## *Example on how it works:* | ||
1. If the bill was ₹150.00, split between 5 people, with a 12% tip. | ||
2. Each person should pay ((150.00+(150.00*12)/100) / 5) = 33.6 | ||
3. Format the result upto 2 decimal places,we get = ₹33.60 | ||
3. Format the result up to 2 decimal places, we get = ₹33.60 | ||
|
||
#### Side Note: | ||
You can change the currency sign as per the country you're residing in.😊 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# Simple Calculator🧮 | ||
## Description: | ||
- It's a simple calculator having features like: | ||
- Addition, Subtraction, Multiplication, Division and Modulus of two numbers at a time. | ||
- Restart the calculation from your previous result or restart the calculator from the start. | ||
- Addition | ||
- Subtraction | ||
- Multiplication | ||
- Division | ||
- Modulo division with two numbers at a time | ||
- Restarting of the calculation from a previous result | ||
- Restarting of the calculator from the start |