Marco
ff2ec599fe
In order to simplify special moves like en passant or castling for the client, we want to deliver the board state after every move (and not only start square and end square). With PGN we can encode a chess position into a string. This commit implies changes to logic of the pieces' shortnames. This will break the client/server connection (at least for promotions).
49 lines
1.9 KiB
Modula-2
49 lines
1.9 KiB
Modula-2
module mchess_server
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/gin-gonic/gin v1.9.1
|
|
github.com/google/uuid v1.3.0
|
|
github.com/samber/lo v1.38.1
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/tjarratt/babble v0.0.0-20210505082055-cbca2a4833c1
|
|
nhooyr.io/websocket v1.8.7
|
|
)
|
|
|
|
require (
|
|
github.com/bytedance/sonic v1.10.0 // indirect
|
|
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
|
|
github.com/chenzhuoyu/iasm v0.9.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
|
|
github.com/gin-contrib/sse v0.1.0 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.15.0 // indirect
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/compress v1.16.7 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
|
github.com/leodido/go-urn v1.2.4 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/onsi/ginkgo v1.16.5 // indirect
|
|
github.com/onsi/gomega v1.27.10 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.2.11 // indirect
|
|
golang.org/x/arch v0.4.0 // indirect
|
|
golang.org/x/crypto v0.12.0 // indirect
|
|
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb // indirect
|
|
golang.org/x/net v0.14.0 // indirect
|
|
golang.org/x/sys v0.11.0 // indirect
|
|
golang.org/x/text v0.12.0 // indirect
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|