Skip to content

Solana Chess Engine written in Anchor Framework

License

Notifications You must be signed in to change notification settings

magicblock-labs/sol-chess

 
 

Repository files navigation

Solana Chess

Chess Engine written in Anchor Framework

License

Installation

anchor build
anchor deploy

Testing

anchor test
// OR
cargo run ./client/

Note

This fork uses the commit 68d5034abf0e0365f98726a63bf0bcace454b403 from the sol-chess repository, which was used in the Solana-Unity-Chess example.

Program

Autogenerating the Unity Client

  • You can autogenerate the Unity client from the IDL with:
dotnet tool install -g Solana.Unity.Anchor.Tool
dotnet anchorgen -i idl.json -o src/SolChessProgram.cs

Features

Feature Implemented
Check Legal Moves
Checkmate
Enpassant
Castling
Promotion
Elo
Time Control

About

Solana Chess Engine written in Anchor Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 90.7%
  • TypeScript 9.3%