apotapov / tafl

Android implementation of a Tafl game
Apache License 2.0
2 stars 0 forks source link

Implement a draw #22

Closed apotapov closed 10 years ago

apotapov commented 10 years ago

The defending player has the ability to force a draw by surrounding the king such that it cannot be captured but move back and forth forever.

apotapov commented 10 years ago
apotapov commented 10 years ago

Going to add a 5th condition: Too many moves. The threshold will be generous 100.

apotapov commented 10 years ago

Bumped move threshold to 300. Since we are not implementing PvP play, the condition of a draw is not as important.

Implementing 4 will be difficult because of all the possible combinations. So we'll skip that for now. I will file a separate enhancement bug for that.