View script | License | Download documentation as: HTML or editable |
Download script | History | Other scripts by: arnold |
7-Sep 21:31 UTC
[0.048] 10.157k
[0.048] 10.157k
Documentation for: dam1.rThis 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. |