https://github.com/codercake/blackjack-game
https://github.com/codercake/blackjack-game
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codercake/blackjack-game
- Owner: codercake
- Created: 2024-12-03T11:42:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-03T11:49:15.000Z (about 1 year ago)
- Last Synced: 2025-02-06T22:14:54.604Z (12 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript: A Blackjack Game
This project demonstrates the power of TypeScript by building a simple Blackjack game. TypeScript enhances JavaScript with static typing, making development more efficient and error-free. This project focuses on game logic, type safety, and modular code organization.
## Features
- Card deck creation and shuffling
- Player actions (hit, stand)
- Dealer logic and game results
- Fully modular and type-safe
## Setup and Run
1. Clone the repository:
``git clone ``
``cd blackjack-ts``
2. Install dependencies:
`npm install`
3. Compile TypeScript:
``npx tsc``
4. Run the game:
``node dist/index.js``