Basic functions of Blackjack done - even counting cards in your head

This commit is contained in:
2024-10-26 00:31:07 +02:00
parent 25fa32724b
commit 398c900fa0
3 changed files with 169 additions and 16 deletions

View File

@@ -10,13 +10,17 @@
<title>BlackJack</title>
</head>
<body>
<article class="cards cards1"><img src="./BlackJackCards/J-B.png" class="card" alt=""></article>
<h2 id="dealerScore">???</h2>
<article class="cards cards1"></article>
<h2 id="playerScore">0</h2>
<article id="playerHand" class="cards cards2"></article>
<section>
<section id="buttons">
<button onclick="hit()">Hit</button>
<button onclick="stand()">Stand</button>
</section>
<section id="reset">
<button id="resetBTN" onclick="reset()">Reset</button>
</section>
<script src="main.js"></script>
</body>
</html>