Proof of concept showing the mechanism for rendering a Quine and replacing itself with a new modified version.
ouroboros.html
(Use w
a
s
d
keys to navigate)
A game of snake that happens inside its own source code, using each iteration as a game loop.
Each instance passes a hash of itself to its progeny, making it increasingly expensive to find the source code of the progenitor.
Each .html
file contains a self replicating program (a kind of Quine). When a file is opened in a browser, it displays its source code then modifies it, replacing itself with the modified version in an ongoing sequence of computations.
Each iteration or "frame" is a self contained program, with the property that if you copy the rendered text into a new .html
file at any point while it's running and open it, the new file will continue from the point you copied it from.
The files in this repository are currently starting points aimed at exploring the various possibilities this form offers.