Skip to content

Commit

Permalink
Player can now move, even to nil Robert & Holger
Browse files Browse the repository at this point in the history
  • Loading branch information
London Clojure Dojo committed Jan 26, 2010
1 parent def0c54 commit 4bd4cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clork.clj
Expand Up @@ -29,5 +29,5 @@

(defstruct player :location)

(defn move-player [player rooms direction]
(struct player (move rooms (:location player) direction)))
(defn move-player [a-player rooms direction]
(struct player (move rooms (:location a-player) direction)))

0 comments on commit 4bd4cb9

Please sign in to comment.