What Open-Source Licenses Mean for Browser Games
What MIT and GPL licenses allow and require for browser games, why each game page credits its author and license, and what the js13kGames contest is.

Every game on FrivWeb was released by its author under an open-source license, and every game page lists the developer, the license and a link to the source code. This explainer covers what those licenses say, what they ask of anyone who shares a game, and why code that is simply public on GitHub is a different thing.
Copyright comes first
Code is protected by copyright as soon as it is written. By default, only the author may copy it, change it or publish it somewhere else. An open-source license is the author's written permission for everyone else to do those things, under stated conditions. Each license file opens with a copyright line, such as "Copyright (c) 2014 Gabriele Cirulli" for 2048 Classic or "Copyright (c) 2015 Thibaut Despoulain" for HexGL. The permission that follows comes from that person.
The MIT License is short
Most games here use the MIT License. Its central sentence grants permission "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software." It asks for one thing in return: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."
- Allowed: hosting the game, changing it, building it into a larger project, even selling it.
- Required: keeping the copyright line and the license text with every copy.
- Not included: any warranty. The software is provided "as is".
MIT does not require you to publish your changes. A modified MIT game can be shared without its source code, as long as the notice travels with it.
The GPL wants the source shared too
Two games here use the GNU General Public License: Block Drop under GPL-3.0 and Slide and Survive under GPL-2.0. The GPL gives the same basic freedoms to run, study, change and share a program, but its version 3 preamble describes it as "a free, copyleft license." Copyleft adds conditions when you pass the game on:
- Anyone who receives a copy, original or modified, must also be able to get the complete source code.
- A modified version that you share must be released under the same GPL license.
- The copyright and license notices must stay intact.
Put simply, MIT code can end up inside a closed project, while the GPL makes sure every shared version stays open.
Why every game page shows credits
Credits are part of meeting those conditions, and they let players check them. Before a game is added here, its license is checked in the original repository. The author's license file stays in the same folder as the game files we serve, and the Game info box on each page names the developer and the license and links to the source code on GitHub.
That link matters most for the GPL games, where access to the source is part of the deal. It is useful for the others too: if a game page says a level needs 17 kills or a tile spawns as a 4 one time in ten, you can open the code and see the line that does it.
Public is not the same as licensed
A GitHub repository can be public and still not be open source. If it has no LICENSE file and no license statement, normal copyright applies: the author has not given anyone permission to copy the game to another website, change it or redistribute it. GitHub's terms let other users view a public repository and fork it on GitHub itself, but that is not a license to host the game somewhere else.
So a missing license is a reason not to host a game, however good it is. FrivWeb only adds games whose repositories carry an open-source license.
Code licenses do not cover names
MIT and GPL grant permission to use the code. They do not give anyone the right to use a trademark that belongs to someone else. That is why a few classic designs on this site go by plain descriptive names, such as Brick Breaker and Paddle Duel, while their code keeps its original author's license and credit.
What js13kGames is
js13kGames is a yearly game-development competition named after its main rule: the whole entry, zipped, must fit in 13 kilobytes. Each year also has a theme; the README for Radius Raid notes that the 2013 theme was "bad luck." Several games on this site say in their repository name, README or code that they were made for the competition: Radius Raid, Elematter, SpacePi, The Last Spartan and Highway 404. All five are released under the MIT License.
The size limit does not change the license question. A contest entry is still copyrighted code, and it can be hosted elsewhere only because its author chose an open-source license for it.


