mrected / assignments

SDG Assignments
0 stars 0 forks source link

Week 03 - Day 4 - Tic Tac Toe #12

Closed gstark closed 5 years ago

gstark commented 5 years ago

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:

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

mrected commented 5 years ago

https://github.com/StPeteFrank/tic

tic-frankdiaz.surge.sh

gstark commented 5 years ago

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

gstark commented 5 years ago

Your homework was marked: Meets Expectations

Well done!

“Well done!” — via Gavin Stark