Speaking of spaceships, I found it fun to contrast these fake code uses with one in the game Starbound (got it a day or few after it hit Steam as an Early Access game). When you obtain enough fuel (like coal) from your current planet there and send it back to your spaceborne ship, you can take it to another planet and enjoy a flashy warp sequence with code that scrolls on a screen. The code shown is that of...the warp sequence. [reddit.com] (Starbound is a C++ game, and you'll notice fun things in the display like uint64_t and class names.)
Granted, it's almost certainly not a true quine [wikipedia.org], as it uses only a portion of the code; said code is in PNG form, not text; and I doubt the display will be updated for each patch, especially this early in development.
Classic Atari 2600 game Yar's Revenge does something similar -- when you beat the bad guy on any given level, the screen explodes with what looks like random static, but is actually the program code for the game represented as a bitmap.
Anyone who imagines that all fruits ripen at the same time
as the strawberries, knows nothing about grapes.
-- Philippus Paracelsus
thats crazy (Score:1)
As soon as I find a tilt a whirl, i'm gonna build me a spaceship!
Re:thats crazy (Score:5, Interesting)
Speaking of spaceships, I found it fun to contrast these fake code uses with one in the game Starbound (got it a day or few after it hit Steam as an Early Access game). When you obtain enough fuel (like coal) from your current planet there and send it back to your spaceborne ship, you can take it to another planet and enjoy a flashy warp sequence with code that scrolls on a screen. The code shown is that of...the warp sequence. [reddit.com] (Starbound is a C++ game, and you'll notice fun things in the display like uint64_t and class names.)
Granted, it's almost certainly not a true quine [wikipedia.org], as it uses only a portion of the code; said code is in PNG form, not text; and I doubt the display will be updated for each patch, especially this early in development.
Re: (Score:1)