<commit_before>define([
    "./../input",
    "./../gui",
    "./../view/viewport",
    "./../world/world",
    "./../world/tank",
    "./../world/controls",
    "./../world/gameobject",
    "./../rendering/renderer",
    "./../rendering/loadimage",
    "./../base/timer",
    "./../base/loop",
    "./../game/loadlevel",
    "./../game/debuglayer"
], function Game(
    Input,
    Gui,
    Viewport,
    WorldBuilder,
    Tank,
    Controls,
    GameObject,
    Renderer,
    loadImage,
    Timer,
    Loop,
    loadLevel,
    DebugLayer
) {
    var Game = Object.subclass("Game", {
        initialize: function(canvasId) {
            this.buildCanvas(canvasId);
            this.buildInput(canvasId);
            this.renderer = new Renderer(this.canvas);
            this.buildViewport();
            this.constrainDebugLayer();
            this.levels = new LevelPointer();
        },
        buildCanvas: function(canvasId) {
            this.canvas = document.getElementById(canvasId);
            this.canvas.style.position = "absolute";
            this.canvas.style.top = "0px";
            this.canvas.style.left = "0px";
            this.canvas.style["z-index"] = -1;
        },<commit_msg>remove unused dependencies from Game<commit_after>define([
    "./../input",
    "./../gui",
    "./../view/viewport",
    "./../world/world",
    "./../rendering/renderer",
    "./../game/debuglayer"
], function Game(
    Input,
    Gui,
    Viewport,
    // TODO: extract WorldBuilder, Tile, ... from World
    WorldBuilder,
    Renderer,
    DebugLayer
) {
    var Game = Object.subclass("Game", {
        initialize: function(canvasId) {
            this.buildCanvas(canvasId);
            this.buildInput(canvasId);
            this.renderer = new Renderer(this.canvas);
            this.buildViewport();
            this.constrainDebugLayer();
            this.levels = new LevelPointer();
        },
        buildCanvas: function(canvasId) {
            this.canvas = document.getElementById(canvasId);
            this.canvas.style.position = "absolute";
            this.canvas.style.top = "0px";
            this.canvas.style.left = "0px";
            this.canvas.style["z-index"] = -1;
        },
{'fraction_non_alphanumeric': 0.1702127659574468, 'fraction_numerical': 0.002716161158895428, 'mean_word_length': 1.783375314861461, 'pattern_counts': {'":': 0, '<': 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': '5519677', 'n_tokens_mistral': 648, 'n_tokens_neox': 659, 'n_words': 108}