Last month we pointed you to a – video of Bret Victor's talk, "Inventing on Principle." Victor has worked on experimental UI concepts at Apple and also created the interactive data graphics for Al Gore’s book, Our Choice. In the talk Victor showed off a demo of a great real-time game editor that makes your existing coding tools look primitive at best.
Inspired by Victor's presentation, developer Chris Granger has put together a similar live game editor in Clojurescript.
If you haven't watched the video of Victor's talk, you should start there, but the basic idea behind his real-time editor is to make your code more closely connected to what it creates, in this case a simple game. Granger's take on the idea is similar – all changes you make to the code are reflected immediately in the running game. You change a line of code and the game immediately changes right with it. Here's Granger's – video demonstrating the editor:
http://www.youtube.com/embed/7XUWpze_A_s
As Granger writes on his blog, "essentially I learned that Victor was right – there's unquestionable value in connecting yourself with your creation."
Granger's demo code is available on GitHub and there's a .jar file available for download if you'd just like to play with the demo.