|
|
#1 |
|
Member
![]() Posts: 17
Karma: 22
Join Date: Nov 2004
Device: Kindle 3 WiFi
|
Fairy-Stockfish for Kindle, chess for players who are not super strong
I really like playing chess on my jail-broken Kindle
using Gnome Chess from: https://github.com/crazy-electron/Gn...indle/releases (also available for easy install via the KindleForge package manager) The above ships with 2 engines, Stockfish and GNU Chess. Both engines are very strong. No matter what settings you use in the engines.conf file, Stockfish will not play weaker than ~1350 ELO and GNU Chess will not play below ~1150 ELO. This is very tough for a casual player playing a casual game. So I compiled up Fairy-Stockfish, which can be used as a drop-in replacement. Amongst its many changes, Fairy-Stockfish can play all the way down to a beginner level of 500 ELO. So in the tar file attached to this post are three files: ** README.txt : this file ** stockfish : This is Fairy-Stockfish compiled as a standalone statically linked binary that should work on practically any Kindle (armel or armhf). I say "should work", because I only have a armhf Kindle, so that is what I tested with. Use this binary in place of the stockfish binary installed by GnomeGames4Kindle by copying it to you Kindle at: /extensions/gnomegames/bin/armhf/stockfish and/or /extensions/gnomegames/bin/armel/stockfish ** engines.conf : This is a configuration file read by GNOME Chess, modified to play at easier levels when using Fairy-Stockfish. Take a look at it, it is easy to modify (although the syntax is picky). Change the last number on the "UCI_Elo value" lines to adjust strength of play; I currently have it set so when selecting engine Stockfish in the game, Easy = 500 ELO, Normal = 800 ELO, and Hard = 1100 ELO. Copy this file to your Kindle at: /extensions/gnomegames/share/glchess/engines.conf How I Compiled Fariy-Stockfish If you want to cross-compile Fairy-Stockfish yourself, it is easy to do using Zig. This is what I did using Docker on my Intel Windows 10 desktop (should be easy to do with any machine that has Docker): C:\Kindle>docker run -it --rm -v "%cd%":/output ubuntu:latest bash # apt update && DEBIAN_FRONTEND=noninteractive apt install -y make git zig # cd ~ # git clone --depth 1 -c advice.detachedHead=false https://github.com/fairy-stockfish/Fairy-Stockfish.git # cd Fairy-Stockfish/src # make -j build ARCH=general-32 COMP=clang nnue=no CXX="zig c++ -target arm-linux-musleabi -w -Wno-everything -Wl,-s" # cp stockfish /output/. Last edited by tannenba; Today at 02:11 PM. Reason: Tightened up post, added some URLs |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chess Life magazine and/or Chess Informant | scapa flow | Recipes | 4 | 03-31-2025 01:23 PM |
| My super easy, super cheap (less than $3) DIY Kindle Cover solution... | cegrundler | Amazon Kindle | 12 | 10-08-2010 06:42 PM |