Skip to content

A visually immersive 3D chess game built with three.js, featuring custom Blender-modeled pieces and a simple AI opponent powered by the minimax algorithm with alpha-beta pruning. The game runs entirely in the browser and leverages Web Workers to keep gameplay smooth and responsive.

Notifications You must be signed in to change notification settings

yuvis22/chess-three.js

Repository files navigation

Chess 3D

Chess 3D

Features

  • 3D Chessboard & Pieces: All models handcrafted in Blender for a unique look.
  • AI Opponent: Play against a computer using minimax with alpha-beta pruning.
  • Web Worker AI: AI runs in a separate thread to prevent UI freezing.
  • Modern Web Tech: Built with TypeScript, Webpack, and Three.js.
  • Responsive Design: Works across modern browsers with hardware acceleration.

Getting Started

  1. Clone the repo and install dependencies:
    git clone https://github.com/yuvis22/chess-three.js.git
    cd chess-3d
    npm install
  2. Run in development mode:
    npm run start:dev
  3. Build for production:
    npm run build:prod

Play Online

Check out the live demo: https://chess-threejs.vercel.app/

About

A visually immersive 3D chess game built with three.js, featuring custom Blender-modeled pieces and a simple AI opponent powered by the minimax algorithm with alpha-beta pruning. The game runs entirely in the browser and leverages Web Workers to keep gameplay smooth and responsive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published