4 ms·
Related, a self destroying game I built some time ago: https://void4.github.io/ https://void4.github.io/ The yellow dot is the instruction pointer, the red dots
by 7373737373 9y ago
Related, a self destroying game I built some time ago: https://void4.github.io/ https://void4.github.io/ The yellow dot is the instruction pointer, the red dots represent the program memory. If you hit the ball just right you can introduce graphic glitches. Most times, the instruction pointer gets out of bounds however.
- bitwize 9y agoThat's kinna like the story about the guys who coded a Tron lightcycle game on the Apple II. Failure to properly bounds-check the lightcycle position meant that the cycles could be driven off screen, corrupting main memory and the game code itself -- much like what happened in the move Tron.
- colejohnson66 9y agoStory: http://blog.danielwellman.com/2008/10/real-life-tron-on-an-apple-iigs.html http://blog.danielwellman.com/2008/10/real-life-tron-on-an-a...
- 7373737373 9y agoOne of the most brilliant applications of this concept is the Pokémon Yellow Total Control Hack: http://aurellem.org/vba-clojure/html/total-control.html http://aurellem.org/vba-clojure/html/total-control.html Similarly, arbitrary code execution in Super Mario World: https://www.youtube.com/watch?v=OPcV9uIY5i4 https://www.youtube.com/watch?v=OPcV9uIY5i4 It's like transforming a chess game into Mikado just by playing it.
- Asooka 9y agoOne thing I've often wanted to do, but didn't have the time to, was to take Turing Drawings: https://github.com/maximecb/Turing-Drawings https://github.com/maximecb/Turing-Drawings ( faster asm.js variant here: https://github.com/darius/Turing-Drawings https://github.com/darius/Turing-Drawings ), which runs a random Turing machine to generate abstract art and put the machine description in the image itself, so it could self-modify.
- 7373737373 9y agoThe links you gave are fascinating! Believe it or not, I have done something like that, too: http://imgur.com/gallery/sRUrI http://imgur.com/gallery/sRUrI
- nebabyte 9y agoTo be fair, that seems to require turning off in the middle of a save. Not entirely by the rules of the game.
- AlecSchueler 9y agoThis is really cool and I'd love to play with it, but my eyesight isn't good enough to hit the ball more than once at a time. Is there anyway you could post an upscaled version?
- odabaxok 9y agoCTRL-[+] in your browser?
- 7373737373 9y agoUpdated it. If it's still too small, just right click, inspect element and choose a custom width and height.
- kmill 9y agoI was looking through the source and learned that Python's modulo operator is based on floor-division (rather than round-toward-0 division like in C). In case anyone cares how Python actually does in in C, for small ints its defined at https://github.com/python/cpython/blob/master/Objects/longobject.c#L3599 https://github.com/python/cpython/blob/master/Objects/longob...