- 在 CreatePlayer.go 中添加 ChangePlayerName 函数,实现玩家改名功能 - 更新 FightC 类的 battleLoop 方法,增加平局条件和处理逻辑 - 优化 enterturn 方法,统一处理战斗结束逻辑 - 移除 global.go 中的 log 包引用,改为使用 glog - 更新 go-sensitive-word 依赖版本
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
module github.com/zmexing/go-sensitive-word
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/imroc/req/v3 v3.42.3
|
|
github.com/orcaman/concurrent-map/v2 v2.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.1.0 // indirect
|
|
github.com/cloudflare/circl v1.3.7 // indirect
|
|
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
|
|
github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/klauspost/compress v1.17.7 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.16.0 // indirect
|
|
github.com/quic-go/qpack v0.4.0 // indirect
|
|
github.com/quic-go/qtls-go1-20 v0.4.1 // indirect
|
|
github.com/quic-go/quic-go v0.40.1 // indirect
|
|
github.com/refraction-networking/utls v1.6.3 // indirect
|
|
go.uber.org/mock v0.4.0 // indirect
|
|
golang.org/x/crypto v0.21.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
|
|
golang.org/x/mod v0.16.0 // indirect
|
|
golang.org/x/net v0.22.0 // indirect
|
|
golang.org/x/sys v0.18.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
golang.org/x/tools v0.19.0 // indirect
|
|
)
|