An open API service indexing awesome lists of open source software.

https://github.com/lightsenpai7/blackjackgame

Blackjack game developed using React.js and TypeScript
https://github.com/lightsenpai7/blackjackgame

blackjack game reactjs typescript webbasedgame

Last synced: 2 months ago
JSON representation

Blackjack game developed using React.js and TypeScript

Awesome Lists containing this project

README

          

# Blackjack Royale

## Overview
Blackjack Royale is a modern, responsive web-based Blackjack game built with React and TypeScript. Experience the classic casino card game with a sleek, minimalist design.

## Features
- Classic Blackjack gameplay
- Fully responsive design
- Realistic card images
- Clean, modern UI
- Real-time score tracking

## Technologies Used
- React JS
- TypeScript
- CSS
- Web-based card rendering

## Game Rules
- Goal: Get as close to 21 as possible without going over
- Face cards (J, Q, K) are worth 10 points
- Aces can be 1 or 11 points
- Dealer draws until reaching 17 or higher

## Installation

### Prerequisites
- Node.js (v14+)
- npm

### Steps
1. Clone the repository

2. Navigate to project directory

3. Run `npm install` to install dependencies

4. Run `npm start` to start the development server

5. Open your browser and navigate to `http://localhost:3000` to play the game

## How to Play
1. Click "Start New Game"
2. Choose "Hit" to draw another card
3. Choose "Stand" to keep current hand
4. Try to get closer to 21 than the dealer!

## Game States
- 🟢 In Progress: Active gameplay
- 🏆 Player Win: You beat the dealer
- 🃏 Dealer Win: Dealer beats you
- 🤝 Draw: Equal scores

## Responsive Design
- Works on desktop and mobile devices
- Adaptive card and button layouts

## Future Improvements
- Multiplayer support
- Advanced betting system
- More detailed game statistics

## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.

## License
[MIT License](https://github.com/LightSenpai7/BlackjackGame/blob/main/LICENSE)