Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (paths.nonEmpty) {
- val zone = paths.head.origin
- if (zone.platinumSource > 0) {
- val c = board.getPlayerPodSizeForZone(zone.id, player) == 1
- val v = board.numberOfEnemyPodsInPositionToTakeZone(zone.id, player)
- c && v == 1
- }
- else false
- }
- else false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement