<commit_before>{
    "title": "2D Core",
    "intro": "The core of 2D consists of just one object (in the global scope): `Game`. Game is a javascript constructor, so with `new Game(...)` you can create as many Games as you wish on a single page, even with completely different options.\nGame has just a few methods and variables, mainly for the game loop, starting and stopping, and managing plugins. That's the true power and beauty of 2D: it consists of a very small core, with all the functionality added with plugins, like `Draw`, `Collisions` etc. There are a few basic plugins, in `src/plugins`.",
    "main": {
        "name": "Game",
        "type": "constructor",
        "description": "The main Game constructor",
        "arguments": [
            {
                "name": "options",
                "type": "Object",
                "default": "{}",
                "description": "An object containing some options. All possible keys can be found in `options.md`. For no options, use an empty Object."
            },
            {
                "name": "plugins",
                "type": "array",
                "default": "[]",
                "optional": true,
                "description": "An array containing some plugins to be added to the Game, as passed to `Game.plugin()`."
            }
        ],
        "children": [
            {<commit_msg>Updated core docs<commit_after>{
    "title": "2D Core",
    "intro": "The core of 2D consists of just one object (in the global scope): `Game`. Game is a javascript constructor, so with `new Game(...)` you can create as many Games as you wish on a single page, even with completely different options.\nGame has just a few methods and variables, mainly for the game loop, starting and stopping, and managing plugins. That's the true power and beauty of 2D: it consists of a very small core, with all the functionality added with plugins, like `Draw`, `Collisions` etc. There are a few basic plugins, in `src/plugins`.",
    "main": {
        "name": "Game",
        "type": "constructor",
        "description": "The main Game constructor",
        "arguments": [
            {
                "name": "options",
                "type": "Object",
                "default": "{}",
                "description": "An object containing some options. All possible keys can be found in `options.md`. For no options, use an empty Object."
            },
            {
                "name": "plugins",
                "type": "array",
                "default": "[]",
                "optional": true,
                "description": "An array containing some plugins to be added to the Game, as passed to `Game.plugin()`."
            },
            {
                "name": "categories",
                "type": "array",
                "default": "[]",
                "optional": true,
                "description": "An array containing some categories to be added to the Game, as passed to `Game.category()`."
            }
        ],
        "children": [
            {
{'fraction_non_alphanumeric': 0.11658456486042693, 'fraction_numerical': 0.0019704433497536944, 'mean_word_length': 1.9486931268151015, 'pattern_counts': {'":': 39, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7115540', 'n_tokens_mistral': 766, 'n_tokens_neox': 726, 'n_words': 343}