Skip to content

Instantly share code, notes, and snippets.

(def players
[{:id 1 :health 100} {:id 2 :health 90}])
(def game
{:players players})
(def current-game
(atom game))
(defn kill-player
I *suspect* that the benchmark summary line might be wrong
A B A / B
10 8 1.25
100 50 2.00
-------------------
110 58 1.90
A straight average of 1.25 and 2.00 would be 1.62.