/tictactoe

JavaScript based Tic Tac Toe game

Primary LanguageJavaScript

Tic Tac Toe

This game is my version of Tic Tac Toe. The player must do his/her best to defeat an AI opponent. Be the first to get three across horizontally, vertically, or diagonally.

To Use

Choose whether you'd like to be 'X' or 'O'. Then, choose a cell when it is your turn. Do your best to make three in a row or block the AI from getting three in a row. The running tally of wins and loses will be recorded on the scoreboard on the right.

Contributing

This project has open issues. Development is based on the development branch. To contribute, follow these steps:

  • git clone https://github.com/matty22/tictactoe.git
  • git checkout development
  • git checkout -b issue-label/reference-to-issue (ex. bug/fix-grammar-error)

Make your changes in your local copy...

  • git add [filename].ext
  • git commit -m "Concise message that explains your changes"
  • git checkout development
  • git pull
  • git checkout fix/my-branch
  • git merge development
  • git push origin fix/my-branch

Then, open a PR on the development branch on the repo.

For questions, read these three blog posts for guidelines on how to contribute: