Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.55 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.55 KB

Tic-Tac-Toe

This application allows two players to play tic-tac-toe, 08.24.2017

By Dan Kiss & Margaret Berry

Description

The first player automatically becomes X's. X's and Os appear on alternate clicks. An alert pops up if one player wins.

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd tic-tac-toe
  3. $ open index.html

Specifications

Spec Input Output
If a player clicks on a box in the game board, an X appears. click 'Spot 3' x
When the next player clicks on a box, an O appears. click 'Spot 6' o
If there are 3 Xs or Os in a row, column or diagonally, an alert will appear saying "You win! X X X You win!

Known Bugs

  • The alerts for winner contain the column name instead of the player name.
  • There is no alert for a tie game.

Project Goals

Get more comfortable writing more complex JavaScript applications.

Future Features

Add alerts that say which player wins, and alerts for tie games. Add more styling.

Support and contact details

If you have any updates, questions, or suggestions please contact Margaret or make a contribution.

Technologies Used

  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • jQuery

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry and Dan Kiss