~hokiegeek/tucana

3ec985f261b2a6ed5b0c161f208f464cd6b6ef90 — HokieGeek 4 months ago f99f2e8 v0.6.2
Removed some outs
1 files changed, 0 insertions(+), 5 deletions(-)

M game.go
M game.go => game.go +0 -5
@@ 368,13 368,10 @@ func (g *Game) NextTurn() {
		g.Terrain = TerrainCards.Shuffle()

		if g.NumPlayers == 1 && g.Round >= 2 {
			fmt.Println("might have to reduce!")
			switch {
			case g.Board == IslaPetit && g.Round == 2:
				fmt.Println("petit: yup!")
				fallthrough
			case g.Board == IslaGrande && g.Round == 3:
				fmt.Println("grande: yup!")
				g.VillageBonuses = g.reduceVillageBonuses()
			}
		}


@@ 442,14 439,12 @@ func (g *Game) Score() Score {
	var score Score

	// Sights
	fmt.Println(g.SightsVisited)
	sightsVisits := make(map[Sight]int)
	score.Sights = make([]int, g.Round)
	for i := 0; i < g.Round; i++ {
		var roundSights int
		for sight, visited := range g.SightsVisited[i] {
			for j := 0; j < visited; j++ {
				fmt.Printf("Scoring %s (%d) on round %d\n", sight, SightScoring[g.Board][sight][sightsVisits[sight]+j], i)
				roundSights += SightScoring[g.Board][sight][sightsVisits[sight]+j]
			}
			sightsVisits[sight] += visited