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))
+2 -2
View File
@@ -9,7 +9,7 @@ body {
font-family: 'Overpass', sans-serif;
}
body {
/* body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
@@ -20,7 +20,7 @@ body {
background-position: center;
background-attachment: fixed;
background-blend-mode: overlay;
}
} */
.content {
max-width: 1020px;