feat: voting procedures
This commit is contained in:
@@ -94,3 +94,11 @@ func BombPlanet(p *game.Planet, power float64) {
|
||||
func (c *Cache) ListProducingPlanets() iter.Seq[uint] {
|
||||
return c.listProducingPlanets()
|
||||
}
|
||||
|
||||
func (c *Cache) VotesByRace() map[int]float64 {
|
||||
return c.votesByRace()
|
||||
}
|
||||
|
||||
func VotingWinners(calc []*VoteGroup, gameVotes float64) []int {
|
||||
return votingWinners(calc, gameVotes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user