Light-Bot: Putting the Fun in Functions

Posted by Jetlogs @ 2:54 pm
Category: Video Games

Do you think your logical skills are still as sharp as ever? Then you should try to play the game of Light-Bot. Although it is a simple flash game, the rules are very familiar to all of us:

Enter the commands, and the robot will follow the instructions. The objective is simple: light up all the blue tiles.

It seems pretty simple, until you find out that there is a maximum limit on the number of commands available on the main program…

But don’t fret, the game has 2 additional command slots for using functions! Now there is where our cunning comes in: How do we finish the task without going over the maximum number of commands on the main program?

Although this game will be easy for programmers, this provides a very fun distraction and constrast to our day to day work.

You can play the game here

Although this is more of an exercise on logic, a lot of the problems are reflective of what developers encounter on a day-to-day basis. Even one of the problems was solved when I thought about the difference of linebreaks in notepad (“\n” vs “\r\n”). Its up for you to find out when the parallel happens.


2 Comments »

2 Comments to “Light-Bot: Putting the Fun in Functions”

  1. Vaevictus
    1

    light-bot is great. :) If you like that kind of game, I highly recommend most of the games from Zachtronics Industries.
    http://www.zachtronicsindustries.com/
    They’re all free. I recommend all of them, but specifically Ruckingenur II ( http://www.zachtronicsindustries.com/pivot/entry.php?id=40 ), Manufactoid ( http://www.zachtronicsindustries.com/pivot/entry.php?id=18 ), and Bureau of Steam Engineering (flash game, http://www.zachtronicsindustries.com/pivot/entry.php?id=60 ).

  2. jcdnhomep
    2

    penisadvantage
    penisadvantage
    where to buy penis advantage
    penisadvantage
    buy penis advantage

RSS Comment Feed Comments RSS |trackback TrackBack URI

Leave a comment

  • Archives

  • Donations

  • Social Bookmarks

  • Jetlogs.org
    Some Rights Reserved 2007
    Creative Commons License