Add new game files and create moon vault HTML page

- Added WebAssembly file for Stacktris game.
- Included minified JavaScript source for Stacktris game.
- Created moon vault HTML page with game links and a locking mechanism.
This commit is contained in:
miles committed 2026-10-06 13:59:08 -05:00
1 parent 52b37c24e1
commit 9ab87d0fea
177 files changed
+99649 -2

No files matched your search

+4 -2
View File
@@ -71,17 +71,19 @@
});
})();
/* GAMES PAGE EASTER EGG: g, a, m, e, s */
/* GAMES EASTER EGG: g, a, m, e, s -> hidden vault (passphrase required) */
(function(){
const seq = ['g','a','m','e','s'];
let pos = 0;
window.addEventListener('keydown', function(e){
const t = e.target;
if (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA' || t.isContentEditable)) return;
const key = e.key.length === 1 ? e.key.toLowerCase() : e.key;
if (key === seq[pos]) {
pos++;
if (pos === seq.length) {
pos = 0;
window.location.href = '/games.html';
window.location.href = '/moon-vault.html';
}
} else {
pos = (key === seq[0]) ? 1 : 0;