Skip to content

Created TicTacToe game#6

Open
mtrich wants to merge 1 commit intomasterfrom
week3-1
Open

Created TicTacToe game#6
mtrich wants to merge 1 commit intomasterfrom
week3-1

Conversation

@mtrich
Copy link
Owner

@mtrich mtrich commented Oct 23, 2018

No description provided.

int row = Convert.ToInt16(Console.ReadLine()) - 1;
PlaceMark(row,column);
}
public static void PlaceMark(int row, int column)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is called PlaceMark, but you are checking for win or tie? seems a little out of place.

// checks if players movement choice is emptey
if (board[row][column] != "X" && board[row][column] != "O")
{
if (playerTurn == "X")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of repeated code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants