# Candy Box 2 local edition

Copyright (C) 2012 David "aniwey" L. Source: https://github.com/candybox2/candybox2.github.io at 35301d438aa2c1e58e8cb3ea215b0af323bddf9b. GPL-3.0-or-later; see candybox2_sourceCodeLicense.txt and LICENSE-GPL-3.0.txt. No warranty.

ASCII artwork is CC-BY-SA-3.0; see ascii_art.html and LICENSE-CC-BY-SA-3.0.txt. Every named original artist and original file is credited in ART-CREDITS.json and retained in ascii/. Art is unmodified. Generated art tables preserve that separate license.

Unmodified upstream: upstream-source.zip. Modified preferred source: code/, ascii/, text/, libs/, pythonScripts/, css/, index.html and package-candy-box-2.ts. Rebuild with Node, TypeScript 1.7.5 and this packaging recipe (no minifier). The generator is ported to Node for portable slash-separated paths; it omits author metadata from gameplay but preserves all credit files. jQuery 1.9.1 uses unminified preferred source with the obsolete inline-event CSP probe removed. jQuery/Sizzle modular sources, build recipes and MIT license are in dependency-source/. Type declarations libs/jquery.d.ts carry Apache-2.0 attribution; see LICENSE-APACHE-2.0.txt. TypeScript is an external build tool, not a shipped dependency.

Modified October 17, 2026 for PlayDo's Arcade: remove obsolete AppCache manifest, unlicensed favicon and external promotional footer links; add local source notice. Core gameplay unchanged. Mouse/click UI and displayed keyboard shortcuts; one candy per second; spend candies to unlock the RPG. No automatic network calls. Manual save/export uses local browser storage or a downloaded text file.

Additional dated local adaptations: source_code.html points at the actual included original archive, preferred source directories and recipe. Save.ts uses this edition origin/path for local slot restore links; LocalSaving.ts probes storage in try/catch and reports unavailable when denied, preserving upstream manual text save/import. index.html and changed TypeScript files carry their modification date.
