Increase map size

This commit is contained in:
Trevor Slocum 2024-02-08 21:17:04 -08:00
parent 260ae7d95e
commit 5e162fcf20
4 changed files with 30 additions and 3 deletions

View file

@ -7,7 +7,7 @@ This game was created for the [Analog Joystick Input](https://itch.io/jam/joysti
## Play
[**Click here to play**](https://rocketnine.itch.io/arcticwarfare)
[**Click here to play**](https://rocketnine.itch.io/arctic-warfare)
## Support

View file

@ -24,7 +24,7 @@ import (
const screenWidth, screenHeight = 1920, 1080
const worldWidth, worldHeight = 6, 2
const worldWidth, worldHeight = 6, 3
const worldTileSize = 1536
@ -260,6 +260,7 @@ func (g *Game) reset() {
g.computerPlayers = append(g.computerPlayers, g.size1+i)
}
g.gameOver = 0
viewPlayer = 0
}
func (g *Game) setComputerInputs() {

View file

@ -198,7 +198,7 @@ func (s *Simulation) randFloat() float64 {
}
func (s *Simulation) AddPlayer(player int, team int, state *playerState) error {
const playerBufferSize = 1536
const playerBufferSize = 2000
const houseBufferSize = 300
randomLocation := func() (float64, float64) {
var attempts int

26
goreleaser.yml Normal file
View file

@ -0,0 +1,26 @@
project_name: arcticwarfare
builds:
-
id: arcticwarfare
goos:
- js
- linux
- windows
goarch:
- amd64
- wasm
archives:
-
id: arcticwarfare
builds:
- arcticwarfare
wrap_in_directory: arcticwarfare
format_overrides:
- goos: windows
format: zip
files:
- ./*.md
- LICENSE
checksum:
name_template: 'checksums.txt'