private void TurnTicker_Tick(object sender, System.EventArgs e) { if (GameObj.IsRunning && !GameObj.IsOver) // game is in active state { GameObj.ShowPlayerTurn(); } }
private void TurnTicker_Tick(object sender, System.EventArgs e) { if (Rules.whiteStartCounting) { whiteCountLabel.Text = Board.maxMoves.ToString(); } else { whiteCountLabel.Text = ""; } if (Rules.blackStartCounting) { blackCountLabel.Text = Board.maxMoves.ToString(); } else { blackCountLabel.Text = ""; } if (GameObj.IsRunning && !GameObj.IsOver) // game is in active state { GameObj.ShowPlayerTurn(); } }