Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7ca6263
Wave 1 setup
thenora Apr 21, 2020
cb2e7f5
added CSS group names to components & app
thenora Apr 21, 2020
a5ca1da
wave 1 psuedo
thenora Apr 21, 2020
fad79e8
Wave 1 - YAY there's a board
thenora Apr 21, 2020
d78cb60
tried to refactor board and broke something...
thenora Apr 21, 2020
e00db64
reverted to working code
thenora Apr 21, 2020
0332a6c
Merge branch 'master' of https://github.com/thenora/react-tic-tac-toe
thenora Apr 21, 2020
60aae85
fixed for real this time
thenora Apr 21, 2020
4163009
added notes for potential future refactor
thenora Apr 21, 2020
eb2b476
wave 2 psuedo code
thenora Apr 21, 2020
7505a9a
typo in readme
thenora Apr 21, 2020
1e0c81d
wave 3 psuedo code - check for winner or tie
thenora Apr 21, 2020
d8209cf
wave 4 psuedo code - reset game
thenora Apr 21, 2020
e9f72f6
tweaks to reset psuedo code
thenora Apr 21, 2020
97a4dd4
added more questions / thoughts for ? refactors
thenora Apr 21, 2020
34a7fb7
more notes added to square
thenora Apr 21, 2020
95ca062
tried to add onclick only if empty to square
thenora Apr 21, 2020
4e24385
added alternative onClick behavior
thenora Apr 21, 2020
a1d50da
It's 1 am and I have no idea what I'm doing :)
thenora Apr 21, 2020
ba4b0a8
YAY xo working
thenora Apr 22, 2020
98ae2c9
add refactor notes before starting wave 3
thenora Apr 22, 2020
d138b78
started creating winner logic
thenora Apr 22, 2020
a607d8a
replaced nil with null
thenora Apr 22, 2020
c0505ae
replaced nil with null
thenora Apr 22, 2020
d251be6
Add todo to fix x/o changing on click
thenora Apr 22, 2020
6dd2093
changed square w value to not allow change
thenora Apr 22, 2020
862dd71
added more wave 4 / reset psuedocode
thenora Apr 22, 2020
915acdc
added reset functionality
thenora Apr 22, 2020
b55209f
Added winner function but not working
thenora Apr 22, 2020
036c9a0
cleaned up comments on app.js - not working
thenora Apr 22, 2020
8e7c079
cleaned up comments on board
thenora Apr 22, 2020
59492a7
cleaned up square component comments
thenora Apr 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ When the user clicks first clicks on a square it should set the square's value t

## Wave 3

For wave 3, you will add the game logic to detect if a player has one or if there is a tie (all squares filled and with no winner). To do this you will complete the `checkForWinner` method and display the winner in the `header` section. The game should also cease responding to clicks on the board if the game has a winner.
For wave 3, you will add the game logic to detect if a player has won or if there is a tie (all squares filled and with no winner). To do this you will complete the `checkForWinner` method and display the winner in the `header` section. The game should also cease responding to clicks on the board if the game has a winner.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yeah, that's legit. I'll go fix that.


## Wave 4

Expand Down
Loading