Become a fan of Slashdot on Facebook


Forgot your password?

Comment: Same thing in x86 asm (Score 4, Informative) 115

by Juippi (#39467271) Attached to: Javascript Game of Tron In 226 Bytes
This was fun, because I got pretty much the same thing down to 56 bytes in x86 assembly some 15 years ago. I remember the best entry in the competition I wrote it for being around 48 bytes or so; I missed at least one trick for setting the graphics segment more efficiently, and also something related to either collision handling or keyboard input, don't remember which.
In any case, this is possibly the right version of the code. Should compile with NASM, and is even playable in Dosbox with arrow keys if you turn the emulation speed as low as it can go.

The difficult we do today; the impossible takes a little longer.