Add leaderboard functionality with Redis integration for scores. This includes a global leaderboard system, server-side score submission handling, and real-time player ranking updates. Refactor and improve collision logic and game state management for better player experience.
This commit is contained in:
@@ -2,9 +2,15 @@ module git.zb-server.de/ZB-Server/EscapeFromTeacher/pkg
|
||||
|
||||
go 1.25.5
|
||||
|
||||
require github.com/nats-io/nats.go v1.47.0
|
||||
require (
|
||||
github.com/gorilla/websocket v1.5.3
|
||||
github.com/nats-io/nats.go v1.47.0
|
||||
github.com/redis/go-redis/v9 v9.17.2
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
github.com/klauspost/compress v1.18.0 // indirect
|
||||
github.com/nats-io/nkeys v0.4.11 // indirect
|
||||
github.com/nats-io/nuid v1.0.1 // indirect
|
||||
|
||||
Reference in New Issue
Block a user