summaryrefslogtreecommitdiffhomepage
path: root/samples/05_mouse/01_mouse_click/app
diff options
context:
space:
mode:
authorSimon Chiang <[email protected]>2021-04-23 09:46:41 -0600
committerAmir Rajan <[email protected]>2021-05-26 16:08:45 -0500
commitd5115606c96b0fe0affd72e6e0b72edce7e51042 (patch)
tree5d750d974dc947163dc4cb37a0c9bbac9266a207 /samples/05_mouse/01_mouse_click/app
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
Diffstat (limited to 'samples/05_mouse/01_mouse_click/app')
-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