Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag

BMU-Verlag/c#3_2.cs

Created Jul 30, 2019
Embed
What would you like to do?
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