edupont / chessmarkable

Chess for the reMarkable using the rust pleco lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chessMarkable

rm1 rm2 launchers

A chess game for the reMarkable tablet writting using the pleco chess library which is a port of Stockfish

  

Controlling

A chess piece can be moved in two ways:

  1. Clicking it once and clicking the spot it's supposed to
  2. Clicking it and moving the finger onto the square to move it there on release

The second method has the advantage that it doesn't highlight the chess piece or shows the possible moves.

Installation

Prebuilt binary/program

  • Go the the releases page
  • Get the newest released binary file (the one without any extension) and copy it onto your remarkable, using e.g. FileZilla, WinSCP or scp.
  • SSH into your remarkable and mark the file as executable with chmod +x chess
  • Stop xochitl (the interface) with systemctl stop xochitl
  • Start the game with ./chessmarkable (or whatever the binary is called now)
  • After you're done, restart xochitl with systemctl start xochitl

Compiling

  • Make sure to have rustup and a current toolchain (nightly might be needed)
  • Install the oecore toolchain.
    • If you're not using linux, you might want to adjust the path in .cargo/config
  • Compile it with cargo build --release. It should automatically cross-compile.

Todo

  • Proper own icon(s)
  • Check whether the difficulties are good (let me please know in the issues if not)
  • Some more information for the user on invalid moves
  • Fix potential errors that are currently not checked and instead can kill the game

Credit

  • The pleco library is used as the engine, checking valid moves and providing the bots
  • The chess pices are from pixabay here

About

Chess for the reMarkable using the rust pleco lib

License:MIT License


Languages

Language:Rust 100.0%