Created
July 30, 2019 13:12
-
-
Save BMU-Verlag/1befc645652e8013821812442cd21921 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void StartButton_Click(object sender, EventArgs e) | |
{ | |
gameActive = true; | |
for (var x = 0; x < FIELD_SIZE; x++) | |
{ | |
for (var y = 0; y < FIELD_SIZE; y++) | |
{ | |
fields[x][y] = Player.None; | |
} | |
} | |
… | |
oder | |
private void StartButton_Click(object sender, EventArgs e) | |
{ | |
… | |
else if (fieldsMarked >= FIELD_SIZE * FIELD_SIZE) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment