Skip to content

GALemmon/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe


Overview

Do you enjoy the classic game Tic-Tac-Toe? Even if you don't, here is a slightly 'Marvel-ous' version to try. This game automates the 'arduous' processes of score keeping and keeping track of who's turn it is. Give it a try!


Link


Contributor


Tech Used

  • Javascript
  • CSS
  • HTML

How To Use

To play, simply click on one of the game squares after choosing to be Tony or Steve. The game will handle everything else. A reminder of whose turn it is will appear above the game board. To reset the win counters, refresh the page.

  • Click a square for player 1. This will deploy a hero and make your square.
  • Click a square for player 2. This will deploy a hero and make your square.
  • Play though a game of Tic-Tac-Toe.
  • If either player wins, the game will announce the win, add a win to the win counter, and reset.
  • In the event of a draw, the game will announce the draw and reset.
  • The win counters will persist until the page is reloaded.

Features

  • During game play, the user's choice of square will be automatically marked.
  • Winning combinations will be scored as wins.
  • Starting player will be rotated automatically.
  • A draw game will reset the game board without adding to a player's score.
  • Scores will persist until page refresh.

Instructions for Viewing

Click this link to view the gitHub repository.

To view code on the text editor of your choice (atom was used to construct this code):

Clone this repository in your terminal by entering using git clone https://github.com/GALemmon/Tic-Tac-Toe and then cd Tic-Tac-Toe. Run atom . to open the text files in your text editor.

Use the command open index.html from the cloned repo in your terminal to open the website in your browser.


Credits

Thank you for viewing my project!

About

Turing Mod 1 final solo project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published