Chess with the Devil

  scripts
  sprites
See inside
Instructions

You're good at chess? Then play an endgame with the devil! He's even giving you queen-for-knight odds, so you can in theory always win. But the devil will defend like hell and frustrate you... Anyway, good luck!

Bist du gut im Schach? Dann spiele ein Endspiel gegen den Teufel! Er gibt dir sogar Dame gegen Springer vor, so dass du theoretisch immer gewinnen kannst. Aber der Teufel wird höllisch gut verteidigen und dich frustrieren... Trotzdem viel Glück!

Notes and Credits

For each possible position, the project stores the smallest number of moves that you need to checkmate the red king. In his moves, the devil is using this precomputed "Devilbase" to always aim for a position that is worst for you in the next move.

The database generation program has been written by Zygmunt Malecki in Java. Thanks to @TheLogFather for the essential idea of compressing a large list by storing it in a variable. Chess endgame databases have first been computed in the 1980s for up to 4 pieces. Today, optimal moves for all endgames with up to 6 pieces can be found online at http://www.shredderchess.com/online-chess/online-databases/endgame-database.html

Shared: 31 Jan 2015 Modified: 31 Jan 2015
Favorite this project 61
Love this project 77
Total views 842
View the remix tree  1
  
More projects by Kinderlabor