* ensure /end request is always called, and refactor win/draw logic * clean up logging and error handling during initialization * automatically generate friendly snake names * title-case snake names * print out list of alive snake names instead of count * log snake names, IDs, and URLs at startup * print out state for turn zero
34 lines
1.1 KiB
Modula-2
34 lines
1.1 KiB
Modula-2
module github.com/BattlesnakeOfficial/rules
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/google/uuid v1.1.2
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
|
|
github.com/rs/cors v1.8.2
|
|
github.com/spf13/cobra v1.1.1
|
|
github.com/spf13/jwalterweatherman v1.1.0
|
|
github.com/spf13/viper v1.7.1
|
|
github.com/stretchr/testify v1.4.0
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/magiconair/properties v1.8.1 // indirect
|
|
github.com/mitchellh/mapstructure v1.1.2 // indirect
|
|
github.com/pelletier/go-toml v1.2.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/spf13/afero v1.1.2 // indirect
|
|
github.com/spf13/cast v1.3.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.2.0 // indirect
|
|
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 // indirect
|
|
golang.org/x/text v0.3.2 // indirect
|
|
gopkg.in/ini.v1 v1.51.0 // indirect
|
|
gopkg.in/yaml.v2 v2.2.8 // indirect
|
|
)
|