ate the scoreboard</li><li>the time to finish the game is randomised</li><li>the wait-time between subsequent games is randomised</li><li>the score they get is also randomised</li></ul>
</div><div class="code">
    <pre><code class="clojure">(defn sim-game [scoreboard name]
  ;; increment number of attempts
  (dosync (!&gt; scoreboard [:name name]
              (update-in [:attempts] inc)))

  ;; simulate game playing time
  (Thread/sleep (rand-int 500))

  ;; conj the newest score at the start of the list
