Skip to content

codercake/blackjack-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 <repository-url> cd blackjack-ts
  2. Install dependencies: npm install
  3. Compile TypeScript: npx tsc
  4. Run the game: node dist/index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published