yiotro / Antiyoy

A source code of android game called 'antiyoy'.
421 stars 53 forks source link

Early game end suggestion may be incorrect #62

Open yoavst opened 5 years ago

yoavst commented 5 years ago

Bug: possibleWinner() does not take multiple islands into account.

Situation: I've been playing a user level with multiple island, in which you need to conquer all the islands to win. While I was having hard time winning on the last island while doing the right moves on the other islands, I was offered to stop playing and win (the "Win or continue" dialog). However, on that very last island, I don't think from the current situation I'll be able to ever win.

Example

yiotro commented 5 years ago

Hmm, I'm not sure about that, but I think that the idea of this level is that it can't be won by killing all your enemies, but it's enough for 'early win' conditions.

yoavst commented 5 years ago

It is possible to kill all your enemies. I was able to win 5 out of 6 in a single game, and win the last island on a new game, so it is definitely possible.

subchannel13 commented 5 years ago

@yoavst Suppose this was a multiplayer game, if you won on all but one island, had >70% territory, who should be declared a winner?

yoavst commented 5 years ago

@subchannel13 I agree in this situation. However, in case of a single player game or specifically a map like this one, the hardness of the level is to be able to focus on all the islands.