Пример #1
0
func extraFood(t *antwar.Tile) int {
	return t.FoodCount() - t.AntCount()
}
Пример #2
0
func moreFoodThanAnts(tile *antwar.Tile) bool {
	return tile.FoodCount() > tile.AntCount() // && tile.Team() != "ghengis"
}