https://github.com/space-banane/webjack
A browser-based Blackjack game for yourself!
https://github.com/space-banane/webjack
blackajack fun games web
Last synced: 11 months ago
JSON representation
A browser-based Blackjack game for yourself!
- Host: GitHub
- URL: https://github.com/space-banane/webjack
- Owner: Space-Banane
- License: mit
- Created: 2025-07-06T21:28:07.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-06T21:35:27.000Z (12 months ago)
- Last Synced: 2025-07-19T10:12:51.805Z (11 months ago)
- Topics: blackajack, fun, games, web
- Language: JavaScript
- Homepage: https://webjack.reversed.dev
- Size: 5.64 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webjack
Webjack is a browser-based Blackjack game featuring smooth gameplay and a simple betting system.
## Features
- Classic Blackjack rules
- Interactive UI with card animations
- Betting system with balance persistence (local storage)
- Responsive design using Tailwind CSS
- No registration or login required
## Getting Started
### Prerequisites
- [Docker](https://www.docker.com/) (for running with Docker)
- Or a static web server (for manual hosting)
### Running with Docker
1. Clone this repository.
2. In the project directory, run:
```sh
docker compose up
```
3. Open your browser and go to [http://localhost:8080](http://localhost:8080).
### Manual Usage
1. Open `index.html` in your browser, or serve the directory with a static web server.
## File Structure
- `index.html` - Main HTML file and UI
- `main.js` - Game logic and UI interactions
- `cards/` - Card image assets
- `docker-compose.yml` - Docker configuration
## Gameplay
- Click **Place Bet** to start a new game.
- Adjust your bet using the modal, then play by hitting or standing.
- Your balance is saved in your browser.
- If your balance drops below the minimum, use **Get $100** to refill.
## License
MIT License. See [LICENSE](LICENSE) for details.
---
Built with ❤️ by [Space](https://space.reversed.dev)