Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garethgeorge/rustychess
A rust chess implementation using a neural network scoring function built on huggingface/candle + rust + wasm
https://github.com/garethgeorge/rustychess
Last synced: about 1 month ago
JSON representation
A rust chess implementation using a neural network scoring function built on huggingface/candle + rust + wasm
- Host: GitHub
- URL: https://github.com/garethgeorge/rustychess
- Owner: garethgeorge
- Created: 2023-10-09T01:35:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-12T07:36:54.000Z (about 1 year ago)
- Last Synced: 2023-10-12T19:48:43.586Z (about 1 year ago)
- Language: Rust
- Size: 7.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rusty Chess
[![Build and Deploy](https://github.com/garethgeorge/rustychess/actions/workflows/deploy.yaml/badge.svg)](https://github.com/garethgeorge/rustychess/actions/workflows/deploy.yaml)
## What is it?
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.