Skip to content

Candy Box 2: licence and source

We build this game from source and serve it from our own servers. This page is the attribution and the source offer that permission depends on. Back to the game page.

Credit

Candy Box 2 was made by aniwey (David L.).

  • Named in the source licence notice as Copyright (C) 2012 David "aniwey" L.

This credit is our statement of who made the game. It is separate from the copyright line in the notice below, which is reproduced exactly as the project ships it.

Source and build

Licence
GPL-3.0-or-later
Type
strong copyleft
Built from
35301d438aa2c1e58e8cb3ea215b0af323bddf9b
Modified
yes

ChangesCompiled from source with the developer's own build steps and four changes, none of them to the game. The PayPal donate button on the FAQ page, which loaded an image and a tracking pixel from paypalobjects.com, is a plain link to the same donation page. The dead AppCache manifest is dropped, so a copy of the game cannot go stale inside a browser that still honours it. The "download the source" link on the source code page points at our archive, since that is the source of the build you are playing. And the two Python scripts that turn the ascii art and the translations into code now write a forward slash in the generated keys on every platform, which they did not do on Windows. GPLv3 is copyleft, so the complete corresponding source of this exact build is at /play/candy-box-2/source.zip on this site, with the full GPLv3 text alongside it, which upstream does not ship.

GPL-3.0-or-later is a copyleft licence, so anyone we serve this game to is entitled to its source. The archive above is that source: the upstream tree at the commit named, with the changes listed applied, which is what the files we serve were built from. It also carries the script that applied them.

GPL-3.0-or-later notice, reproduced verbatim

/**
 *
 * @source: http://candybox2.github.io/candybox2_uncompressed.js
 *
 * @licstart  The following is the entire license notice for the 
 *  JavaScript code in this page.
 *
 * Copyright (C) 2012 David "aniwey" L.
 *
 *
 * The JavaScript code in this page is free software: you can
 * redistribute it and/or modify it under the terms of the GNU
 * General Public License (GNU GPL) as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option)
 * any later version.  The code is distributed WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
 *
 * As additional permission under GNU GPL version 3 section 7, you
 * may distribute non-source (e.g., minimized or compacted) forms of
 * that code without the copy of the GNU GPL normally required by
 * section 4, provided you include this license notice and a URL
 * through which recipients can access the Corresponding Source.
 *
 * @licend  The above is the entire license notice
 * for the JavaScript code in this page.
 *
 */