public static void EndGame(PieceColor won) { if (instance == null) { return; } instance.CmdEndGame(won); }