Basic THREE.js project using Fivos Doganis vite template.
Install Node.js
- Clone or download repo
- run
npm install: fetches and install all dependencies npm run dev: launches a server and opens your browser inhttps://localhost:5173by default
-
Click on the chess piece you wish to move.
-
After selecting your piece, click on the desired destination. This can either be:
- An empty square to move your piece there.
- An opponent's piece to capture it and move your piece to that square.
-
For now, all the pieces can be moved wherever you want.
-
Enjoy the music!
-
Menu to choose:
- nb of players
- your color
-
Turn by turn logic
-
fix piece movements
-
Display text warning within the scene
- Not a correct move
- Not your piece sir
- Knight chess piece by Poly by Google [CC-BY] via Poly Pizza
- Bishop by Poly by Google [CC-BY] via Poly Pizza
- Pawn by Poly by Google [CC-BY] via Poly Pizza
- Rook by Poly by Google [CC-BY] via Poly Pizza
- Queen by Poly by Google [CC-BY] via Poly Pizza
- King by Poly by Google [CC-BY] via Poly Pizza
- White Noise from Silent Hill 2
- Hit punch sound effect CC-BY