Skip to content

checkers toy project to demo typescript/rust interop

Notifications You must be signed in to change notification settings

lucasalexsorensen/chkrs

Repository files navigation

chkrs

Screenshot

A toy project to demonstrate Typescript/Rust interop using Tauri. It's a simple checkers game with a CPU opponent that uses Monte Carlo Tree Search to make decisions.

Todo

  • Write rigorous tests for the game logic
  • Use a bitboard approach for game state representation (the rigorous tests will help with this)
  • Add multithreading to the MCTS algorithm (see dashmap)
  • Visual overhaul (animations, etc.)

Development

Tests:

cd src-tauri
cargo test

Benchmarks:

cd src-tauri
cargo bench
# open target/criterion/report/index.html

Running the app:

cargo tauri dev

Building

cargo tauri build

About

checkers toy project to demo typescript/rust interop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published