-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c85c674
commit c101151
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Rusty Chess | ||
|
||
Rusty Chess is a rust implementation of a chess bot that is written with WASM compilation in mind. | ||
## What is it? | ||
|
||
The chessbot uses minimax with alpha beta pruning to decide the best move. The scoring function is a deep neural network trained on the lichess database of ~30 million games. The model is evaluated in rust using the fantastic [candle](https://github.com/huggingface/candle) library. | ||
Rusty Chess aims to be a high quality embeddable chess engine that runs entirely locally in the browser (no backend required). This is accomplished by writing the move search and board state evaluation in rust and compiling this to WASM that runs natively in the browser. The engine is lightweight enough that it performs well on laptops and mobile devices. High quality board state scoring is accomplished by training a neural network on ~30 million games downloaded from [lichess](https://database.lichess.org/) and evaluating it in rust using the fantastic [candle](https://github.com/huggingface/candle) library. | ||
|
||
## Demo | ||
|
||
See the [demo](https://garethgeorge.github.io/rustychess/) on GitHub pages. |