GithubHelp home page GithubHelp logo

tic-tac-toe-functions's Introduction

Tic-Tac-Toe with Functions

Description

Implement the functions for a tic tac toe game

Explorer Mode

  1. 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.
  2. 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.
  3. 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.
  4. 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
  5. 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
  6. Complete each of the functions in the Explorer Mode portion of the gameFunctions.js file
Notes

You will need to run the npm install command to install all of the necessary dependencies for this project. When you run npm 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 the gameFunctions.js file

Epic Mode

Complete each of the functions in the Epic Mode portion of the gameFunctions.js file

tic-tac-toe-functions's People

Contributors

alarner avatar marklyck avatar nicerhugs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.