From Chessprogramming wiki
Jump to: navigation, search

Home * Engines * Myopic

Myopia [1]

a simple open source chess program for small systems by Steven Edwards, written in C++ and released under the Creative Commons license. Myopic is suited for the Arduino Mega [2] with the optional addition of a SparkFun 8x8 RGB LED backpack [3] as move indicator output device. Otherwise, all I/O is gated through a single pair of routines that currently use the default serial I/O pins [4] .


The board is represented by a vector of 64 chessmen including vacant square chessmen. Search is plain alpha-beta inside the iterative deepening loop with leaf evaluation considering material balance, pawn placement, pinned pieces and piece mobility, and scaled king center distance as bonus in the middlegame and penalty in the endgame.



See also

Forum Posts

External Links


Up one level