add only journal post for 2025 update copyrights to 2026 add licenses to BPS remove unused files update to 0.14.2
33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
|
|
/****************************************************************************
|
|
* Byte Beasties Escape!
|
|
*
|
|
* Copyright 2023-2026 Eric Woodward
|
|
* Source released under CC0 Public Domain License v1.0
|
|
* https://www.planarvagabond.com/licenses/cc0/
|
|
* http://creativecommons.org/publicdomain/zero/1.0/
|
|
****************************************************************************/
|
|
|
|
import { startGame } from "./bbe.js";
|
|
|
|
export default (() => {
|
|
// we load this library as a module to guarantee baseline ES6 functionality
|
|
|
|
// Indicate JS is loaded
|
|
document.documentElement.className =
|
|
document.documentElement.className.replace("no-js", "js");
|
|
|
|
setTimeout(() => {
|
|
const canvas = document.createElement("canvas"),
|
|
contentDiv = document.getElementById("game");
|
|
|
|
canvas.setAttribute("width", "375");
|
|
canvas.setAttribute("height", "667");
|
|
canvas.setAttribute("id", "game");
|
|
contentDiv.appendChild(canvas);
|
|
|
|
startGame(canvas);
|
|
}, 1);
|
|
})();
|
|
// @license-end
|