6 ms·
Lightbot: A simple programming game
- Orangeair 12y agoI find this interesting for how it demonstrates recursion as a means of looping. Most simple code tutorials like this just follow the procedural style, and make you throw a set of instructions inside of a loop block.
- artgon 12y agoThis is a really clever way to help people get an idea of what programming is all about. Great work!
- NaNaN 12y agoThere is an old one from the same team: http://armorgames.com/play/2205/light-bot http://armorgames.com/play/2205/light-bot
- kolev 12y agoIt's not that simple. My 6-year-old son is having hard time - even with the Junior version on Android. Sometimes I do have issue with the regular version as well - it's much easier to write code than use the constructs.
- kolev 12y agoA game for bigger kids is Hacked [0]. [0] http://www.hackedapp.com/ http://www.hackedapp.com/
- mjmahone17 12y agoThis game has a similar code mechanic to CargoBot: https://itunes.apple.com/us/app/cargo-bot/id519690804?mt=8 https://itunes.apple.com/us/app/cargo-bot/id519690804?mt=8 CargoBot has given me hours of having to really think about how to structure my "code" to get the recursive calls just right. I haven't gotten deep into Lightbot yet, but it should be a fun puzzle if later levels have similar types of recursive challenges.
- oflordal 12y agoTry http://www.robozzle.com http://www.robozzle.com for a game in similar vein with a bit more depth.
- tasuki 12y agoCame here to upvote RoboZZle for the extra depth! I once wrote a solver for RoboZZle: https://github.com/tasuk/zlej-rob https://github.com/tasuk/zlej-rob And a blog post: http://blog.tasuki.org/explorations-in-ai-solving-robozzle/ http://blog.tasuki.org/explorations-in-ai-solving-robozzle/
- pbhjpbhj 12y agoRequires silverlight ...!
- tasuki 12y agoThere's a JavaScript version: http://www.robozzle.com/js/index.aspx http://www.robozzle.com/js/index.aspx
- gasping 12y agoThis was really good but there were a few levels that left a bit to be desired. Some of them were basically "find a way to mash this code into these functions without exceeding the instruction cap" while others encouraged quite elegant programming. The last one of the final stage was probably the best example, I thought it was quite elegant.
- anomie 12y agohttp://pleasingfungus.com/Manufactoria/ http://pleasingfungus.com/Manufactoria/ is another great game along the same lines
- ygra 12y agoI love Manufactoria, precisely because it's a game about programming but manages to avoid the Lightbot style where you just put commands in a fixed sequence. Lightbot abstracts procedural programming into a game, but so did graph3.tpu back in the day for me. Manufactoria makes a game about programming by forcing even programmers to think different.
- akkartik 12y agoRight after the first level the question in my mind was, "hmm, I wonder what the tile for conditionals looks like." That question was never answered. Anybody have any ideas on how to answer it?
- dyarosla 12y agoCreator here. Conditionals are introduced in some of the premium versions. You can see how they work in the video at the top of lightbot.com- once the paintbrush is introduced to color the robot conditionals allow for running commands based on lightbot's color.
- kgosdnfga 12y agoIt took me about an hour to complete all levels
- wolf550e 12y agoA long time ago I wrote a simplistic "genetic algorithm" and JIT for solving these puzzles as an exercise. The code is not good, but it did work. https://github.com/zeevt/lightbot_solver https://github.com/zeevt/lightbot_solver
- otikik 12y agoAuto playing music on load -> instant tab close.
- tensorproduct 12y agoI played this game some years ago before I learned anything about programming. Coming back to it with some understanding of recursion makes it a lot easier (though still tough in places).
- glesica 12y agoWas anyone able to actually play the game? It took me to an introduction, the last slide of which was "I'm finished with my hour of code" and I couldn't go any further.
- madlag 12y agoMy daughter has been playing it since she was 7, it's really cool to teach the basics of programming, and more generally to improve accuracy of spatial and time reasoning.
- userbinator 12y agoDefinitely much easier than this one: http://en.wikipedia.org/wiki/Robot_Odyssey http://en.wikipedia.org/wiki/Robot_Odyssey
- sanoli 12y agoI'm waiting for the years to pass and the time will come when I will have time to delve into Robot Odissey and try to finish it.
- abraham_s 12y agoI have been looking for a game to suggest to my 8 year old nephew. This looks simple enough for him to start on. But I am guessing he might need some help when recursion comes into picture. Thanks to others who have posted other suggestions.
- Tideflat 12y agoAs a hint: When you run out of space in a function, then just tack the still needed blocks to the end of every call of that function. It is a bad real-life programming pattern but works in this language. (This language seems non-turning complete without conditionals.)
- slowmovintarget 12y agoHaven't seen it mentioned in the comments yet, but here's another that's a bit more hardcore: http://robocode.sourceforge.net/ http://robocode.sourceforge.net/ You code the AI for your tank then let it loose in an arena with other tanks. You have to handle path-finding, scanning, range-finding, target identification, hit/miss analysis. Some of the winning bots are amazingly competent with their scan-and-move algorithms. You code in Java or some flavor of .Net.
- isxek 12y agoAlso a great game with the same theme from 2011: Pragmatica http://www.wearehive.com/games/pragmatica/ http://www.wearehive.com/games/pragmatica/