ffloof / TurkishDraughts

A collection of ai, and guis for turkish draughts
1 stars 0 forks source link

Test edge case with takes #14

Closed ffloof closed 2 years ago

ffloof commented 2 years ago

Taking and in the middle of a string of takes if theres a promotion, should it be able to promote and keep taking?

ffloof commented 2 years ago

Also check if in the gui it can take backwards

ffloof commented 2 years ago

Also gui appears to have an issue where if theres three in a row you are able to take, and being able to take with different pieces

ffloof commented 2 years ago

Taking and in the middle of a string of takes if theres a promotion, should it be able to promote and keep taking?

In https://www.playok.com/en/turkishdama/ promotion counts as the end of a move. and from https://www.mindsports.nl/index.php/the-pit/592-turkish-draughts

If a man ends its capture on the back rank it is promoted to king. A man may reach the backrank in a capture next to an undefended opposing king. It must then proceed to capture this king before it is crowned itself.

These both imply that promotion ends the move however there is the possibility of taking as a pawn while on the backrank. IE only 1 space left/right

ffloof commented 2 years ago

Fixed all the aformentioned bugs, still need to write a testing system with them included issue #1