A simple Unity-based 2D blackjack game where a player (User) competes against a CPU (dealer). The game mimics core blackjack rules with visual card sprites, user input for actions, and dynamic score tracking.
- You begin with 2 cards, and so does the CPU.
- Press
Hto Hit (draw another card). - Press
Sto Stay (end your turn and reveal CPU's full hand). - The CPU draws until it reaches at least 16 points.
- Press
Rto Reset the game and start a new round.
The game keeps track of how many rounds you win vs. how many the CPU wins!
- Cards are worth values between 1 and 10.
- If your hand goes over 21, you bust and lose.
- If you stay and the CPU's total is lower than yours (or it busts), you win.
- If the CPU has a higher total (≤21), you lose.
- Dynamic card spawning with card sprites
- CPU cards partially face-down until revealed
- Score tracking:
CPU Wins vs You - Reset option with keypress
- Simple UI using TextMeshPro
| Key | Action |
|---|---|
| H | Hit (draw a card) |
| S | Stay (end turn) |
| R | Reset game |
- Add Ace logic (1 or 11)
- Multiplayer support
- Animations for card flip/draw
- Chip betting system
- Background music / sound effects

