GithubHelp home page GithubHelp logo

tic-tac-toe's Introduction

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!

tic-tac-toe's People

Contributors

galemmon avatar

Watchers

 avatar

tic-tac-toe's Issues

Add ability to change hero

At the beginning of game play each player should be able to pick a hero to use in the game. This should include a new name and icon.

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.