Permalink
Browse files

daleks!

  • Loading branch information...
1 parent 27e2b93 commit 92ad01fabe832aa0c8295c37f9bbafb3f2da7140 @evanfarrar committed Mar 11, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 examples/daleks/daleks.coffee
@@ -7,4 +7,12 @@ hotsneaks () ->
case key
when LEFT
doctor[0] = doctor[0] - 20
+ _.each(daleks, ((d) -> d[0] + 20 ))
+ when RIGHT
+ doctor[0] = doctor[0] + 20
+ when UP
+ doctor[1] = doctor[1] - 20
+ when DOWN
+ doctor[1] = doctor[1] + 20
+

0 comments on commit 92ad01f

Please sign in to comment.