Show HN: Quinesnake – A quine that plays snake over its own source
github.com
github.com
You had me at
./quinesnake.cpp
The rest is just the icing on a cake :)So it's a self-replicating game of snake? Sounds very much like a worm virus. Very nice project though!
The tedium is part of the difficulty. Making it easier is not inspirational. Although buildings the tooling to do so would itself be quite the challenge ...
It's great, by the way :)
s = "print escape(s)\n{payload}"
print "s = "
print escape(s)
{payload}
So if you wanna do extra stuff on top of being a quine, just write that program and bootstrap with escape()