World.prototype.toString = function() {
  return (
    this.grid.getSpace().map( (elt) => charFromNb(legendInv, elt))
                        .reduce((p,n,i) => (i%this.grid.width===0) ? (p+"\n"+n) : (p+n))
  );
};