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 index.html #7

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ <h1>Blackjack</h1>
<button onclick="startGame()">START GAME</button>
<button onclick="newCard()">NEW CARD</button>
<p id="player-el"></p>
<p><p/>
<h1>Rules : </h1>
<p id="new-para">
1. Basic rule of blackjack is that you've to make 21 to win.<br>
2. Less than 21 you can draw another card.<br>
3. More than 21 you're out of the game!
1. In the game of blackjack, the main objective is to achieve a total value of cards equal to 21 in order to win. <br>
2. If your card total is below 21, you have the option to draw additional cards to increase your total.<br>
3. However, if your total exceeds 21, you will be eliminated from the game and lose.
</p>
<script src="index.js"></script>
</body>
Expand Down