| That weird Kjorteo-like thing ( @ 2009-05-28 00:15:00 |
Thanks to
slither for the awesome link.
http://www.kongregate.com/games/Coolio_ Niato/light-bot
Level 10 in particular requires some particularly horrible workaround logic. ("I need to walk forward one space and turn a light...I have a function that walks forward four places, jumps, takes another step forward, turns right, and flicks a light...there's a wall in front of the light so he'd just be harmlessly walking against it and jumping in place and it won't actually hurt anything, and calling the function gets the light in one move whereas walking forward and flicking it directly takes two, so let's call that function! :D" As a theoretical made-up example.) If you can beat it, then you are clearly an expert at mangling your own code in the name of compression (it's horrible and unreadable and the robot spends half the time dancing around in place like an idiot, but the other half actually solves the level and it's small enough to fit in the size limit and it technically works God damn it and that's the important thing) and therefore you should start making ZZT games immediately.
(I beat the entire game, because I'man insane coding mad scientist-type due to my ZZT background awesome like that.)
My solutions for the last three levels (hidden behind spoiler text, don't worry) because I'm proud enough to show them off:
Level 10:
Main method:
F1, F2, F1, Counterclockwise, F1, Clockwise, F2, Counterclockwise, F1, Clockwise, Jump, F1
Function 1:
Forward, Forward, Forward, Jump, Forward, Counterclockwise, Forward, Light
Function 2:
Jump, Jump, Clockwise, Jump
Level 11:
Main method:
F1, Jump, Clockwise, F1, Jump, Clockwise, F1
Function 1:
F2, F2, Counterclockwise, Jump, Counterclockwise, F2, F2, Clockwise
Function 2:
Light, Forward, Light, Forward, Light, Forward, Light, Forward
Level 12:
Main method:
Forward, Jump, Clockwise, F1, F1, Counterclockwise, Jump, Light, Jump, Light
Function 1:
F2, Counterclockwise, F2, Counterclockwise, F2
Function 2:
Light, Jump, Light, Jump, Light, Jump
http://www.kongregate.com/games/Coolio_
Level 10 in particular requires some particularly horrible workaround logic. ("I need to walk forward one space and turn a light...I have a function that walks forward four places, jumps, takes another step forward, turns right, and flicks a light...there's a wall in front of the light so he'd just be harmlessly walking against it and jumping in place and it won't actually hurt anything, and calling the function gets the light in one move whereas walking forward and flicking it directly takes two, so let's call that function! :D" As a theoretical made-up example.) If you can beat it, then you are clearly an expert at mangling your own code in the name of compression (it's horrible and unreadable and the robot spends half the time dancing around in place like an idiot, but the other half actually solves the level and it's small enough to fit in the size limit and it technically works God damn it and that's the important thing) and therefore you should start making ZZT games immediately.
(I beat the entire game, because I'm
My solutions for the last three levels (hidden behind spoiler text, don't worry) because I'm proud enough to show them off:
Level 10:
Main method:
F1, F2, F1, Counterclockwise, F1, Clockwise, F2, Counterclockwise, F1, Clockwise, Jump, F1
Function 1:
Forward, Forward, Forward, Jump, Forward, Counterclockwise, Forward, Light
Function 2:
Jump, Jump, Clockwise, Jump
Level 11:
Main method:
F1, Jump, Clockwise, F1, Jump, Clockwise, F1
Function 1:
F2, F2, Counterclockwise, Jump, Counterclockwise, F2, F2, Clockwise
Function 2:
Light, Forward, Light, Forward, Light, Forward, Light, Forward
Level 12:
Main method:
Forward, Jump, Clockwise, F1, F1, Counterclockwise, Jump, Light, Jump, Light
Function 1:
F2, Counterclockwise, F2, Counterclockwise, F2
Function 2:
Light, Jump, Light, Jump, Light, Jump