server.clj
Branches > main > 00dabe7 > files / src / net / bowmap / server / server.clj
(ns net.bowmap.server.server)
; TODO this isn't a good name
; Map of player uuids to their values
(defonce players (ref {}))
(def max-player-count 1000)
(defn player
"Returns the current map of known information about a player given their uuid.
Returns nil when nothing is known."
[uuid]
(@players uuid))