Git Product home page Git Product logo

terminal-tic-tac-toe's Introduction

TIC-TAC-TOE in the terminal!

This is a small project that can be worked on in a group of 3 people. Once completed, you will have a working version of tic-tac-toe which you can play right in your terminal!

Instructions

  1. Select one person in the group (PersonA) to fork this repo.
  2. After this, the other 2 people in the group (PersonB and PersonC) can fork PersonA's repo (if this is confusing, see the diagram below).
  3. Now all 3 people can clone their fork.
  4. The first thing you need to do is run npm install in the project directory.
  5. Inside the repo, there are a few functions which, as a team, you will need to implement. They are divided into the following 3 files. Assign a different file to each person in the group to work on. You will also notice a file called play.js which you can leave unchanged.
    • board-printer.js
    • move-maker.js
    • status-checker.js
  6. Each person in the group can now implement the function(s) in the file they were assigned. Follow the requirements for the function carefully so you know what to implement. Feel free to discuss any problems or questions with each other - you're a team, you can work together.
  7. When you've finished working on your file - raise a Pull Request against PersonA's fork. You can review the changes as a team and merge them in. Make sure each person in the group understands the changes!
  8. When all the changes are in one fork, you can run the game with node play.js. Don't worry if it doesn't work perfectly the first time - try and fix any problems you find.
  9. After fixing any bugs, you should have a working version of tic-tac-toe running in your terminal :)

forks

terminal-tic-tac-toe's People

Contributors

moneyinthesky avatar

Forkers

moneyinthesky

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.