server.clj
Branches > main > a35eba5 > files / src / net / bowmap / server / server.clj
(ns net.bowmap.server.server)
; 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))