public void EndTurn(int buttonPressed) { bool sectionWon = CheckForWin(buttonPressed); bool sectionIsADraw = ++moveCount >= 9 && !sectionWon; if (sectionWon || sectionIsADraw) { SectionOver(sectionIsADraw); } else { globalController.EndTurn(); } }