Beispiel #1
0
        private void updateGameViewInfo(ReversiLogic reversi, int blackAmount, int whiteAmount)
        {
            LabelGameTurn.Text = (reversi.WhoTurn == ReversiLogic.Turn.Black) ? "黑子下" : "白子下";

            LabelBlackScore.Text = string.Format("○: {0,2:00}", blackAmount);
            LabelWhiteScore.Text = string.Format("●: {0,2:00}", whiteAmount);
        }
Beispiel #2
0
        private void updateGameViewInfo(ReversiLogic reversi, int blackAmount, int whiteAmount)
        {
            LabelGameTurn.Text  = (reversi.WhoTurn == playerRole) ? "玩家下" : "電腦下";
            LabelGameTurn.Text += "\n";
            LabelGameTurn.Text += (reversi.WhoTurn == ReversiLogic.Turn.Black) ? "(黑子)" : "(白子)";

            LabelBlackScore.Text = string.Format("○: {0,2:00}", blackAmount);
            LabelWhiteScore.Text = string.Format("●: {0,2:00}", whiteAmount);
        }