A Dark Room - changes made for this site ========================================= Original: https://github.com/doublespeakgames/adarkroom Commit: 1fada4620b6c66bd07bf15a3f1eb8223df8bc1d7 (2025-05-23) Authors: Michael Townsend (doublespeak games) and contributors License: Mozilla Public License 2.0 (LICENSE.md, unchanged) Changed files are marked with "[modified for this site]" or a header comment. 1. Audio removed - The audio/ folder (86 FLAC music and sound files) is not included: the repository gives no composer or license for these recordings. - script/audio.js was replaced by a silent stub with the same public interface (init, playBackgroundMusic, playEventMusic, stopEventMusic, playSound, loadAudioFile, setMasterVolume, ...). It never fetches files and never creates an AudioContext. script/audioLibrary.js (the list of file names) is kept unchanged because event definitions refer to it. - script/engine.js: removed the audio preloading loop, the "sound on." menu button and the "Sound Available!" prompt shown 3 seconds after start. 2. Tracking and remote resources removed - index.html: removed the Google Analytics (gtag.js) snippet. - index.html: jQuery 1.10.1 is loaded only from lib/jquery.min.js (the ajax.googleapis.com CDN tag was removed; the local copy was already the original's fallback). Library licenses: lib/THIRD-PARTY-LICENSES.txt. - index.html: removed og:image / image_src meta tags pointing to img/adr.png (file not included). 3. Links that leave the game removed (author credits kept) - script/engine.js: removed the "get the app." (App Store / Google Play), "share." (Facebook, Google+, Twitter, Reddit) and "github." menu buttons, the getApp() and share() functions, and the SITE_URL constant they used. - script/space.js: removed the app upsell line and the iOS / android store links from the ending screen. Score display and "restart." are kept. - script/events/marketing.js (a cross-promotion event that opened another website) is not included, and script/events.js no longer adds Events.Marketing to the event pool. - index.html: the doublespeak games logo in the corner is kept, but is no longer a link to the author's website (it now has a title attribute crediting doublespeak games). The credit comment at the top is kept. - mobileWarning.html: removed the App Store / Google Play links and the remote store badge images; added a "Play anyway" link to index.html?ignorebrowser=true (the original game's own bypass flag). - browserWarning.html: removed the links to browser download pages and the browser logo images (img/chrome.png, firefox.png, ie.png, opera.png, safari.png are not included). 4. English only - The translations (lang/ folder, language menu and the ?lang= loader script in index.html) are not included. The game runs in English. The language-menu code in script/engine.js is unchanged; it does nothing because the language list (lang/langs.js) is not loaded. 5. Other - lib/base64.js (a third-party file from webtoolkit.info) was replaced by a short MPL-2.0 implementation using the browser's btoa/atob with UTF-8 handling. It produces the same save codes, so old exports still import. - Not included because they are unused at runtime: script/dropbox.js, lib/icu.js, img/adr.png, doc/, tools/, package.json, yarn.lock, dev-server.js, README.md, contributing.md. Game rules, text, balance and save format are unchanged.