Home * Engines * Little Rook Chess

Little Rook Chess,
a small dedicated open source chess program by Oliver Kraus, written in C, developed to run on an Arduino Uno with 32 KiB of Flash memory and only 2 KiB RAM. As a demonstration project how to use Oliver's u8glib, the universal graphics library (monochrom OLEDs and GLCDs) for embedded systems [1], the focus is on implementing the dedicated user interface realized with an Electronic Assembly DOG LCD module [2] and button shield. Little Rook Chess is part of u8glib under the terms of the new bsd license [3].
Little Rook Chess [4] with DOGM128 (128x64 dots) [5]

Chess AI

The "chess AI" of Little Rook Chess is rather rudimentary so far, one of the rare entries with pure minimax rather than alpha-beta. The evaluation is primary based on material with point values of {1, 3, 3, 5, 9} and has a few positional terms. The program keeps an 8x8 board array, but uses 0x88 coordinates to validate square indicies, and always transforms those coordinates at each board access [6]. Little Rook Chess lacks minor promotions and is unaware of repetitions and the 50-move rule, but otherwise plays legal chess with castling and en passant implemented [7].

See also

External Links


  1. ^ olikraus/u8glib Wiki · GitHub
  2. ^ ELECTRONIC ASSEMBLY : LCD DOG series, flexibe, flat and colorful
  3. ^ u8glib/license.txt at master · olikraus/u8glib · GitHub
  4. ^ Image from little_rook_chess · olikraus/u8glib Wiki · GitHub
  5. ^ dogm128e.pdf by Electronic Assembly
  6. ^ u8glib/chessengine.c at master · olikraus/u8glib · GitHub
  7. ^ little_rook_chess · olikraus/u8glib Wiki · GitHub

What links here?

Up one Level