Chess
* Vanilla Java Script chess: play with your friends, create multiplayer room, play with Stockfish, Login/Register, ELO system and puzzles.
Install / Use
/learn @rodolfoinfantini/ChessREADME
Chess!
Vanilla JS Chess with Stockfish and MULTIPLAYER!
Click here to Play it! <br> Made with vanilla JavaScript, using socket.io, Node JS, MySQL and Stockfish.js. <br>
Summary
Demo:
Run locally:
- You can run it without Docker using node 16 (It MUST be 16) providing the environment variables in the
.envfile. But it is easier to run with the Dockerfile and docker compose:
-
Install Docker and Docker Compose.
-
Build the docker image:
docker build . -t chess
- (IMPORTANT) Create the db folder:
mkdir db/data
- Change the
docker-compose.ymlfile:
- Lines 23 and 24 to use a valid outlook email and password.
EMAIL_USER: user@outlook.com #it must be an outlook email
EMAIL_PASS: password #the outlook email password
-
Run the container:
- Keep attached:
docker compose up- Run in background:
docker compose up -d -
Stop the container:
docker compose down
- Now, if you want to update the running container just do (no need to execute the last steps anymore):
npm run deploy
- It will stop the container, rebuild the image and start the container again.
Rules:
- Pieces movement
- Check and checkmate
- En passant
- Castling
- Pawn promotion
Draw:
- By repetition
- Fifty move
- Stalemate

Game modes:
- Play over the board
- Play against the Stockfish Engine
- Stockfish against itself
- Create a MULTIPLAYER room to play with your friends!

Multiplayer:
- Create and Join Multiplayer Games:

Puzzles:
- 300,000 puzzles
- Filter by rating and theme

Settings:
- Configure piece animation speed
- Set the visibility of the moves indicators
- Select between 26 board themes
- Select between 22 pieces skins

Login and Register:

Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR

