From 47ef3bc8597420a0ffea088cb56c1c22ccfa18f6 Mon Sep 17 00:00:00 2001 From: Kris Calabio Date: Wed, 22 Jan 2014 17:42:55 -0800 Subject: [PATCH] edited a typo 'main-' to '-main' --- TUTORIAL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 400e1e3..3be8b9a 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -292,7 +292,7 @@ Make sure you add `play-clj.ui` back to your `ns` declaration, so you can use th ## Using the REPL -It is much faster to develop a game while it's running, and that's what the Clojure REPL lets you do. To get started, just hit the _Run with REPL_ button in the build pane. When it launches, type `(main-)` into the prompt and hit enter, and your game will launch. +It is much faster to develop a game while it's running, and that's what the Clojure REPL lets you do. To get started, just hit the _Run with REPL_ button in the build pane. When it launches, type `(-main)` into the prompt and hit enter, and your game will launch. Then, switch back to your code while the game is still running. Let's modify `:on-key-down` so the left arrow makes it go right, and vice versa, by swiching the keyword you pass into `move`: