void OnGameEnd(Stone.StoneState winner) { var player0 = game.GetPlayer(new Coset(Game.PlayerNumber, 0)); var player1 = game.GetPlayer(new Coset(Game.PlayerNumber, 1)); var winnerName = winner == Stone.StoneState.None ? "Nobody" : game.GetPlayer(winner).Name; Log($"{game.PlayCount} Won by {winnerName}; Game Count ({player0.Name} {Game.WinninngCount(player0)} : {player1.Name} {Game.WinninngCount(player1)})"); gameHistory.End(winner); }