Skip to content

knshnb/girigiri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Girigiri

Shogi AI written in Rust

日本語バージョン

Install

  1. Install Rust

  2. Clone

    $ git clone https://github.com/bknshn/girigiri
    

How to play

  1. Build

    $ cargo build --release
    
  2. Install 将棋所(Shogidokoro)

  3. Open Shogidokoro.exe and set girigiri/target/release/usi as engine

  • In Linux or Mac you need to use Mono
mono /usr/local/bin/Shogidokoro/Shogidokoro.exe

Others

  • Run self match locally

    $ cargo run --bin auto --release
    
  • Battle in floodgate

    $ cargo run --bin floodgate --release
    
  • For CSA battle

    $ cargo run --bin main --release
    
  • Learn evaluation function

    $ cargo run --bin learn --release
    
  • Debug

    $ cargo run --bin debug --release
    

Introduction

Rustで将棋AI入門 1-動かしてみる