fixed pacing bug, improved expansion

This commit is contained in:
evanpelle
2024-09-09 20:31:45 -07:00
parent 3b79ab84f5
commit f24a4b894a
14 changed files with 39 additions and 40 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export class TerritoryRenderer {
}
}
)
bfs(event.boat.tile(), dist(event.boat.tile(), 2)).forEach(t => this.paintCell(t.cell(), this.theme.borderColor(event.boat.owner().id()), 255))
bfs(event.boat.tile(), dist(event.boat.tile(), 2)).forEach(t => this.paintCell(t.cell(), this.theme.borderColor(event.boat.owner().id()), 180))
bfs(event.boat.tile(), dist(event.boat.tile(), 1)).forEach(t => this.paintCell(t.cell(), this.theme.territoryColor(event.boat.owner().id()), 150))
} else {
trail.forEach(t => this.paintTerritory(t))