示例#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"
}