Compare commits

..

1 Commits

Author SHA1 Message Date
Alexander Whitestone
e72e5ee121 fix: critical bugs from QA (#86, #87, #89)
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Failing after 2s
Smoke Test / smoke (pull_request) Failing after 3s
- Deleted dead game.js (duplicate const declarations)
- Fixed Wire Budget double-counting trust cost
2026-04-12 22:52:01 -04:00
3 changed files with 4 additions and 2 deletions

View File

@@ -230,7 +230,6 @@ The light is on. The room is empty."
<script src="js/sound.js"></script>
<script src="js/engine.js"></script>
<script src="js/render.js"></script>
<script src="js/tutorial.js"></script>
<script src="js/main.js"></script>

View File

@@ -380,7 +380,6 @@ const PDEFS = [
trigger: () => G.compute < 1 && G.totalCode >= 100,
repeatable: true,
effect: () => {
G.trust -= 1;
G.compute += 100 + Math.floor(G.totalCode * 0.1);
log('Budget overage approved. Compute replenished.');
}

View File

@@ -57,6 +57,10 @@ check("js/data.js exists", () => {
if (!existsSync(join(ROOT, "js/data.js"))) throw new Error("Missing");
});
check("game.js exists", () => {
if (!existsSync(join(ROOT, "game.js"))) throw new Error("Missing");
});
// 4. No banned providers
console.log("\n[Policy]");
check("No Anthropic references", () => {