Live ClojureScript Game Editor
Channel:ibdknox · Length:5:27 · Published:2012-02-27 · Views:33524
Summary
A five-minute demo of a live ClojureScript game editor by Chris Granger. It is based on Bret Victor's demo from the Inventing on Principle talk, with code changes reflected instantly in the running game.
Why HN recommends it
Cited as an early example of live coding applied beyond debugging, and as precursor to Light Table.
These are couple of good examples — HN, 2012
Functional programming · Testing, debugging & developer tools · GUI, HCI & interface history
Subtitles (excerpt)
you know Brett Victor showed some really really cool Demos in his talk and I was curious kind of after I saw it how hard it would actually be to go about trying to to build one of these myself and so I created sort of the live editable game demo that he had so you can see here I have some closure script code on the left side I have the game running on the right side and you know I can move around I can jump there's Collision if I fall off the edge I die and restart um but the point he was making with his game was that you wanted to be you know connected with the thing you had created and that means being able to to edit it in place so for example you know I have this draw player function I can actually change the color of my player right I do that bam now it's pink right that's kind of a trivial example let's actually change the speed of the player right now I'm really fast eight instead of five or I can make myself really slow slow so now I move really painfully slow here or um you know I can change things like how high my jump goes as an example is one of the things he also did so now I jump a little bit higher and let's make it totally ridiculous 22 now I jump really high um but I think the more
On Hacker News
I like interactive, but it seems to work well only if you can simulate the commandline well enough in the browser (like Codecademy does). If you do anything advanced, it has to be done really well. These are couple of good examples: [LINK] [VIDEO] — revorad, 2012-03
"Of course ..." is that really true though? From the very beginning, the very first demo, Chris Granger mentions that he got inspired by Bret Victor's Inventing on Principle demo. He mentions it in the first blog post as well :p No mentions of smalltalk Chris Granger's first video on LightTable: [VIDEO] Chris Granger's first blog post on LightTable: [LINK] — azeirah, 2016-10
Hmm. I work with Eclipse a lot, but this is not just visual. Maybe I use something different but the way of organizing your methods on screen and the actual live coding I don't have in Eclipse. We're not talking 'debug' here; we're talking live coding. Did you check videos like: [VIDEO] If you can do that with Eclipse & Android, please tell me how because then I have been stupid (which is very po… — tluyben2, 2012-05
I also made a ClojureScript version of Bret Victor's interactive editor applied to game development: [LINK] Video here: [VIDEO] — ibdknox, 2012-03
Related videos
- Joel Spolsky at Startup School 2012 · Y Combinator · 31:25
- Paul Buchheit at Startup School 08 · startupschool · 28:13
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Bret Victor The Future of Programming · Joey Reid · 32:55
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26