CHgritter / itvb23ows-starter-code

ITVB23OWS Development Pipelines starter code
MIT License
0 stars 0 forks source link

Issue 3: Vastlopened spel #3

Closed CHgritter closed 7 months ago

CHgritter commented 9 months ago

Als wit drie stenen plaatst die geen bijenkoningin zijn, mag hij als vierde zet helemaal geen steen spelen. Het spel loopt dan dus vast.

CHgritter commented 7 months ago

I accidentally solved this one in the process of dealing with issue 1, as I noticed how the check for if a queen has yet to be placed looked a tad dangerous as is. Added a unit test in this commit for it: https://github.com/hanze-hbo-ict/itvb23ows-starter-code/commit/2c0baf7b80d81f63360297e506d3e3454c73525a