oglimmer/citybuilder

View on GitHub
client/game/Global.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function Global has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Global() {
    this.canvas = document.getElementById('gameCanvas');
    this.ctx = this.canvas.getContext('2d');
    this.uiMode = 0;
    this.playerId = null; // identifier, secret
Severity: Major
Found in client/game/Global.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status