IoT Chess Lars Gregori, 19.10.2014
Intel® IoT Roadshow Munich
N={“d”, 4}
universal chess interface (UCI)
• position [fen <fenstring> | startpos ] moves <move1> .... <movei>
• go – depth <x>
– nodes <x>
– movetime <x>
– infinite
– …
stockfish bench
Galileo Gen 2 =========================== Total time (ms) : 689366 Nodes searched : 7328585 Nodes/second : 10630 Edison =========================== Total time (ms) : 86494 Nodes searched : 7328585 Nodes/second : 84729
i7 (Release) =========================== Total time (ms) : 4546 Nodes searched : 7328585 Nodes/second : 1612095 BeagleBone Black Rev. B =========================== Total time (ms) : 66319 Nodes searched : 7804908 Nodes/second : 117687
Demo
• Edison (Chess server)
– stockfish ../../redis-cli -h 192.168.2.97 set bestmove "`cat test2 | ./stockfish | grep bestmove.*`"
• Galileo (Chess client)
– redis
– LCD: ./lcd2 "`redis-cli get bestmove`"
Stockfish data
position fen 3Q4/5q1k/4ppp1/2Kp1N1B/RR6/3P1r2/4nP1b/3b4 w - -
go movetime 2000
Thank you
+LarsGregori @choas