Saturday, November 19, 2022

JS Chess: Betafish

 GitHub - Strryke/betafish: A chess engine and AI move finder written in Javascript. Beats Stockfish level 5 on Lichess.

Betafish - An amalgamation of AlphaZero and Stockfish.

Play it here.

Read more about it on my blog.

Introduction

Betafish is a chess engine and AI move finder written in Javascript, based on the Negamax algorithm. It beats Stockfish Level 6 on Lichess, and I estimate its around 1800-2000 Elo, depending on the thinking time afforded.

  • Chess Engines: A Zero to One - The article that jumpstarted my journey into chess programming.
  • WukongJS - A JS chess engine, written by Maksim Korzh, who was patient enough to answer my questions, give me pointers and point me in the right direction in this journey.
  • Bluefever Software's YouTube series - A 63-part series on chess programming, which was an absolute gold mine and served as inspiration for the bulk of the chess engine.
  • Chess Programming Wiki - A great resource for chess programming.
  • CM Chessboard - The library I used for the GUI.




No comments: