const moves = JSON.parse(localStorage.getItem("moves"));
this.newGame("human", fen, mycolor, oppid, moves, true);
// Send ping to server (answer pong if opponent is connected)
const moves = JSON.parse(localStorage.getItem("moves"));
this.newGame("human", fen, mycolor, oppid, moves, true);
// Send ping to server (answer pong if opponent is connected)