You are browsing as a guest. Sign up (or log in) to start making projects!

Chess Bot

  • 2 Devlogs
  • 7 Total hours

I am building a chess bot that uses an algorithm to find a good move to play. the board and the rules are managed by chessboard.js and chess.js libraries

Open comments for this post

4h 47m 34s logged

I finally coding a basic bot that plays against you. This plays legal moves, and has a move depth of 3. I implemented minimax and piece square tables, so it would play better moves quickly.

There is also an option to export the game as a pgn or fen, so you can evaluate the chess bot as well as your accuracy.

currently, even with move depth 3, it is slow, especially when there are a lot of moves it has to sort through, and I want to make it so the algorithm works faster, even on lower end devices. Also, the algorithm is pretty bad, (it got about 75% accuracy on chess.com analysis) so I also plan on improving it in the future.

0
0
17
Open comments for this post

2h 4m 59s logged

Devlog #1

My first goal in building a chess bot is to code the board and defining the rules. I used chessboard.js to make the board, and I will later implement rules, so both sides can only play legal moves, and also castling, en passant, etc.

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…