Skip to content

krzkaczor/Chess.ai.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess.ai.js

Build Status

Chess.ai.js is AI crafted for playing chess. It uses minmax and alphabeta algorithms and can be easily tweaked to play other games (ex. checkers).

Example

Example using ChessboardJS as frontend is placed in directory example. You can run it directly in your browser here.

Development

Project uses nodejs. To run it in browser you need to use browserify and create bundle (I recomend using it with watchify). To start development just type:

npm install

To build example and create bundle:

watchify example/js/Game.js -o example/bundle.js

To run tests:

npm test

Todo

  • missing chess game elements (castling, pawn promotion etc.)
  • more complicated game state measure
  • implement other AI algorithms

About

Artificial intelligence for chess

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published