Tic-Tac-Toe with Functions
Description
Implement the functions for a tic tac toe game
Explorer Mode
- Fork this repository by clicking the fork button on the upper right corner of this page. This will copy the repository on to your GitHub account.
- Clone the forked version of the repository. When you copy the clone URL it should have your github username in it not TIY-Austin-Front-End-Engineering.
- Read through the scripts/gameFunctions.js file in your cloned repo. Develop an understanding of what each function is supposed to do based on the comments.
- For each function write out with pen and paper the arguments that are getting passed into the function. For each argument write out...
- the type of data (string, number, boolean, array, object) that it should be
- one example valid value that could be passed in to that argument
- For each function write out with pen and paper
- in english: what should be returned from the function?
- what type should the return value be?
- one example of a valid return value
- Complete each of the functions in the
Explorer Mode
portion of thegameFunctions.js
file
Notes
You will need to run the
npm install
command to install all of the necessary dependencies for this project. When you runnpm install
the node package manager will look at the package.json file and install everything that is listed as a dependency or devDependency.
process.exit()
You can play the actual game by running the command
node scripts/main.js
.
What to Submit
A link to your forked version of this repo, with your changes pushed to it
Adventurer Mode
- Complete each of the functions in the
Adventurer Mode
portion of thegameFunctions.js
file
Epic Mode
Complete each of the functions in the Epic Mode
portion of the gameFunctions.js
file