An Easter egg for hiding on websites. Like the Konami code but more convoluted.
UltrasonicMadness 1f23d48df6 More descriptive variable name for program states | пре 7 месеци | |
---|---|---|
LICENSE.txt | пре 6 година | |
README.md | пре 7 месеци | |
demo.html | пре 7 месеци | |
demo.js | пре 7 месеци | |
dreamcode.js | пре 7 месеци |
The Dream Code is a short script intended to be used as an Easter egg on websites (happy Easter, incidentally) in a similar manner to the popular Konami code. However, instead of being based on the famous code from Contra, this script is based on the set of codes from the game Erika to Satoru no Yume Bōken (Erika and Satoru's Dream Adventure, hence the name of this script) which allow the determined player to view messages left by one of its developers.
If JavaScript is enabled in your web browser, you should be able to test The Dream Code on the included demo.html file, which also documents how the various events are triggered. They can be added to standard event handlers using the event name, such as dreamcodeGray, as the first parameter in addEventListener()
.
Thanks to The Cutting Room Floor for providing instructions on how to achieve this in the original game.
All included documentation and scripts of The Dream Code are available under the Apache License 2.0.
Copyright © 2018, 2024 UltrasonicMadness.