https://github.com/bocaletto-luca/chess
Chess WebApp Single Player is a feature-rich chess application featuring real-time clocks, selectable ELO-based AI difficulty (using Stockfish via WebWorker), move history, capture display, undo functionality, and customizable colors. Developed by Bocaletto Luca.
https://github.com/bocaletto-luca/chess
board-game bot chess css3 game gioco html5 javascript php scacchi singleplayer vieogames webgame
Last synced: 27 days ago
JSON representation
Chess WebApp Single Player is a feature-rich chess application featuring real-time clocks, selectable ELO-based AI difficulty (using Stockfish via WebWorker), move history, capture display, undo functionality, and customizable colors. Developed by Bocaletto Luca.
- Host: GitHub
- URL: https://github.com/bocaletto-luca/chess
- Owner: bocaletto-luca
- License: gpl-3.0
- Created: 2025-05-24T12:23:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-02T19:39:45.000Z (12 months ago)
- Last Synced: 2025-06-03T10:53:47.627Z (12 months ago)
- Topics: board-game, bot, chess, css3, game, gioco, html5, javascript, php, scacchi, singleplayer, vieogames, webgame
- Language: HTML
- Homepage: https://bocaletto-luca.github.io/
- Size: 28.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chess Webgame ♟️
#### Author: Bocaletto Luca
Welcome to **Chess** Webgame Single Player – a comprehensive chess platform that brings official tournament features directly to your browser!







[](https://bocaletto-luca.github.io/Chess/)
[](https://bocaletto-luca.github.io/Chess/index-ita.html)
## ✨ Overview
Chess WebApp Single Player features:
- **Real-Time Clocks**: Each side has its own clock, with customizable time control.
- **ELO-Based AI**: Select your bot difficulty (ELO 1200–3200) – our app converts your choice to Stockfish’s Skill Level.
- **Game History and Captures**: Full move history and a capture display panel.
- **Undo Move**: Reverse the last pair of moves to improve your play.
- **Color Selection**: Choose to play as White or Black.
Developed by **Bocaletto Luca**
GitHub Page: [bocaletto-luca](https://github.com/bocaletto-luca) • Official Site: [bocalettoluca.altervista.org](https://bocalettoluca.altervista.org) • GitHub Site: [bocaletto-luca.github.io](https://bocaletto-luca.github.io)
## 🚀 Technologies Used
- **[JavaScript](https://www.javascript.com/)**
- **[HTML5](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)**
- **[CSS3](https://developer.mozilla.org/en-US/docs/Web/CSS)**
- **[Chess.js](https://github.com/jhlywa/chess.js)** – Chess logic engine.
- **[Chessboard.js](https://chessboardjs.com/)** – Interactive chessboard.
- **[Stockfish](https://stockfishchess.org/)** – Powerful chess engine integrated via WebWorker.
## 🔧 Installation
1. Clone the repository:
```bash
git clone https://github.com/bocaletto-luca/chess.git
Place all files on your Apache (or similar) web server.
Open `index_bot_final.php` in your browser (ensure the page is served via HTTP/HTTPS).
🎮 **Usage**
- **Select Color:** Choose whether you want to play as White or Black.
- **Select Bot Difficulty:** Pick an ELO value between 1200 and 3200 – the app converts it to a Skill Level (0–20) for Stockfish.
- **Set Game Time:** Choose your preferred time control for each side.
- **Game Interaction:** Make your move by dragging pieces. The bot responds automatically, and you can view game history and a capture log.
- **Undo/Reset:** Use the Undo Move button to cancel the last move pair or Reset to restart the game.
📄 **License**
This project is released under the GPLv3 License. @bocaletto-luca