https://github.com/laironcosta1994/chess-using-three.js
https://github.com/laironcosta1994/chess-using-three.js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/laironcosta1994/chess-using-three.js
- Owner: laironcosta1994
- License: mit
- Created: 2024-09-09T16:38:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T17:10:59.000Z (8 months ago)
- Last Synced: 2025-01-21T20:09:29.673Z (3 months ago)
- Language: TypeScript
- Homepage: https://chess-3d-mja9.vercel.app
- Size: 763 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MD
Awesome Lists containing this project
README
# Chess-3D
A small chess game in created in `three.js`. It uses `webpack` as a bundling tool. All the 3D models were created by me in Blender. The game has a simple AI system based on the minimax algorithm with
alpha beta pruning. In order to not block the main thread (and do not freeze entire application) the AI is instantiated on a `webworker` instance.
## Deployed version
#### Important!
If you are encountering performance issues make sure you have **hardware acceleration** switched on. It will allow the browser to use GPU for rendering which will improve performance significantly.The guides for different browsers are available here:
[Chrome](https://help.clickup.com/hc/en-us/articles/6327835447191-Enable-hardware-acceleration-in-Google-Chrome) | [Firefox](https://support.mozilla.org/en-US/kb/performance-settings) | [Opera](https://windowsreport.com/opera-browser-hardware-acceleration/)Game available on: https://chess-3d-mja9.vercel.app/
## Useful commands
```
// run the application on development mode
npm run start:dev// build application for development
npm run build:dev// build application for production
npm run build:prod// run the application in production mode
npm run start
```