King Mouse

superhacker
Posts: 7
Joined: Fri Mar 06, 2009 11:10 am

Post by superhacker »

Does anybody have any clue for this?
I solved the King Rat challenge, but it took me 160Instructions!
I have no clue how to get down to 24...

I guess people who are familliar with assembler might know how... but i'm a "high level" person :?

Help please...
therethinker
Posts: 144
Joined: Fri Mar 28, 2008 11:29 pm
Location: #hacker.org on Freenode

Post by therethinker »

The point is to force you to think low and (ab)use tricks that you wouldn't dare do if you were writing in a high-level env. You really have to understand how the VM works and the oddities of the instructions; there are a few that really can be tricked and coerced.
superhacker
Posts: 7
Joined: Fri Mar 06, 2009 11:10 am

Post by superhacker »

i understand that :) was was looking for some hints to where i can get more information and maybe some general hints on how to do thing like a loop or if in the "proper" way.
Surely using memory as pointer can't be the best idea :P
therethinker
Posts: 144
Joined: Fri Mar 28, 2008 11:29 pm
Location: #hacker.org on Freenode

Post by therethinker »

As for loops, all I'll say is that look at goto-style instructions. Conditions are also important. There's no "proper" way, but there's 1 or 2 instructions that are used.

And memory as a pointer? Why not?
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

I would like to know how few instructions you have to do it in at the end of this series of challenges - I just can't get it below 34! :) More brain cycles needed methinks.
There is no spoon.
Post Reply