Skip to content

Commit

Permalink
refactor: rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromsantos committed Dec 3, 2024
1 parent 08045dc commit 2a4d3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 14_SmellyTicTacToe/kata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ public void Play(char symbol, int x, int y)

public char Winner()
{
SetWinner();
DetermineWinner();
return winner;
}

private void SetWinner()
private void DetermineWinner()
{
if (board.TileAt(0, 0).Symbol != ' ' &&
board.TileAt(0, 1).Symbol != ' ' &&
Expand Down

0 comments on commit 2a4d3e9

Please sign in to comment.