server.clj
Branches > main > 359397c > files / src / net / bowmap / server / server.clj
(ns net.bowmap.server.server)
; Map of player uuids to their refs
(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))