GithubHelp home page GithubHelp logo

ernest-rudnicki / chess-3d Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 2.0 975 KB

A simple chess game in Three.js

Home Page: https://chess-3d-mja9.vercel.app/

License: MIT License

Shell 0.11% JavaScript 2.77% TypeScript 93.75% HTML 0.50% CSS 2.87%
chess game-development threejs

chess-3d's Introduction

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.

Chess 3D

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 | Firefox | Opera

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

chess-3d's People

Contributors

ernest-rudnicki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chess-3d's Issues

Game State management and AI response time update.

Hello there Ernest, I have been using your project for a personal project I have an would like to ask afew questions regarding your game.
Firstly I would like appreciate your and a good game you have built here, really gave me a good insight into game development.
First Question: How can I make the game faster when AI is responding to moves.
Q2: How do I change the game mode to be click to move pieces as opposed to drag to move.

Your feedback will be appreciated. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.