arskiy / chess

Chess GUI using rust-sdl2 and chess AI using minimax.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chess - chess implemented in Rust.

Chess

From my research, this is the first ever Rust implementation of a Chess AI. This was made in 10 days as a Rust exercise.

Installation

Dependencies:

  • SDL2
  • SDL2_image

If you are on Linux or BSD, simply

git clone https://github.com/Arsukeey/chess.git

cd chess

sudo ./install.sh

and then simply run chess on your terminal.

If you are on Windows or Mac, download the "portable" or "windows" (according to your OS) release, download the sprites and put them in a folder called sprites, creating a path like this

- chess
|
|- - chess.exe
|- -
   | - sprites
     | - b_white.png
     | - ...

Gameplay

  • To play, simply drag and drop the pieces. If the movement isn't valid, the game won't let you play that move.
  • To castle, Drag the king to the rook.

Live Example:

Image

About

Chess GUI using rust-sdl2 and chess AI using minimax.

License:zlib License


Languages

Language:Rust 77.8%Language:HTML 21.5%Language:Shell 0.7%