Closed gstark closed 5 years ago
https://github.com/StPeteFrank/tic
tic-frankdiaz.surge.sh
Nicely done!
Code like playerOne ? currentPlayer = 'O' : currentPlayer = 'X'
should really be currentPlayer = playerOne ? 'O' : 'X'
playerOne ? playerOne = false : playerOne = true
can be: playerOne = !playerOne
Your homework was marked: Meets Expectations
“Well done!” — via Gavin Stark
With a partner, create a design for a tic-tac-toe game. Practice your technical design skills (i.e. thinking about how you would code this).
Objectives
Requirements
Features to consider:
X
andO
.X
orO
, respective of the turn.TIPS:
Explorer Mode
WITH your partner: submit a full design of how to approach this problem. This should include:
Finally, also with your partner:
Adventure Mode
or
Epic Mode
Additional Resources