|View script||License||Download documentation as: HTML or editable|
|Download script||History||Other scripts by: arnold|
14-Apr 5:21 UTC
Script Library: 1238 scripts
Documentation for: dam1.r
This is a first draft of a move generator for 10x10 international checkers. Move generating for normal stones including capturing is ok. For promoted pieces should also generate possible moves but these must still be selected for most captured enemy pieces and adding the trailing fields after the last capture. There is a little validation function and a start for a evaluation function. No board implemented, could be similar like the chessboard. To start it now you need to copy the definition of test-board and paste it in console. Then start generating by calling the function (this is where I paused now) get-king-moves test-board5 5 0 Any improvements welcome.