Brough Dungeon - modifications for this site
Original: the finished game from the final stage of the "JavaScript Broughlike Tutorial",
https://github.com/nluqo/broughlike-tutorial (commit b91218d71933ebe3b2ce0ee6ba0f622d2762cbe2),
folder docs/completed/stage8/.
License: MIT (LICENSE, Copyright (c) 2019 Jeremiah Reid). Sprites and sounds were made by the
author for the tutorial (sounds created with Bfxr, as described in stage 7 of the tutorial).
Changes:
1. Renamed for this site: page
"AWESOME BROUGHLIKE" -> "Brough Dungeon"; the title screen
text now reads "BROUGH / DUNGEON".
2. js/game.js: the high-score table is stored under the localStorage key "broughDungeonScores"
instead of the generic "scores", so it cannot clash with other games on the same site.
3. index.html: added CSS that centres the canvas and scales it down to fit the frame
(the original drew it at a fixed 832x576 pixels with a 50px top margin).
Gameplay code is unchanged.
- 2026-11-04: Display title text changed from "Brough Dungeon" to "Broughlike Dungeon" (1 file(s)). Game logic unchanged.