Advertisement
Guest User

Untitled

a guest
Jan 6th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.35 KB | None | 0 0
  1.         if (paths.nonEmpty) {
  2.           val zone = paths.head.origin
  3.           if (zone.platinumSource > 0) {
  4.             val c = board.getPlayerPodSizeForZone(zone.id, player) == 1
  5.             val v = board.numberOfEnemyPodsInPositionToTakeZone(zone.id, player)
  6.             c && v == 1
  7.           }
  8.           else false
  9.         }
  10.         else false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement