docs: function(x, y) {
      x = Math.floor(x);
      y = Math.floor(y);
  
      if (x < 0 || x > this.size - 1 || y < 0 || y > this.size - 1) {
        return -1;
      }
  
      return this.grid[y * this.size + x];
    }