summaryrefslogtreecommitdiffhomepage
path: root/samples/05_mouse/01_mouse_click/app/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'samples/05_mouse/01_mouse_click/app/main.rb')
-rw-r--r--samples/05_mouse/01_mouse_click/app/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/05_mouse/01_mouse_click/app/main.rb b/samples/05_mouse/01_mouse_click/app/main.rb
index c1a6e29..80b91df 100644
--- a/samples/05_mouse/01_mouse_click/app/main.rb
+++ b/samples/05_mouse/01_mouse_click/app/main.rb
@@ -120,7 +120,7 @@ class TicTacToe
space.piece = state.current_turn
# This ternary operator statement allows us to change the current player's turn.
- # If it is currently x's turn, it becomes o's turn. If it is not x's turn, it become's x's turn.
+ # If it is currently x's turn, it becomes o's turn. If it is not x's turn, it becomes x's turn.
state.current_turn = state.current_turn == :x ? :o : :x
end