Skip to content

A simple tic-tac-toe game created with vanilla JS with conditions for win/lose/draw.

Notifications You must be signed in to change notification settings

NobodysLackey/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Date: 1/31/2020

By: Michael Lackey


Description

A simple tic-tac-toe game built with vanilla JavaScript with conditions for win/lose/draw. This project was built over the course of two days for the General Assembly - Software Engineering Immersive.

Technologies Used

Technologies Used


Getting Started

Start by deciding who goes first. The objective is to achieve 3 in a row, while preventing your opponent from doing the same.
The project was deployed on Surge and can be viewed here.

Screenshots

Tic-Tac-Toe


Future Updates

  • Message section that describes whose turn it is and a win/lose/draw update
  • Unique color for each player
  • JS Animations
  • Self-hosted chalk font
  • Play Again button that only appears when the game has ended
  • Play Again button does not "refresh" the page
  • Win counter for each player
  • Deploy to Surge
  • 10 second turn timer before a random selection is made for the player
  • Game alternates who goes first between X and O
  • Let the user choose which letter goes first
  • On win, the winning cells light up, while the others grey out
  • 1 Player Mode where a user can play against the computer

Credits

Background: Chalkboard
Animations: Animate.css

About

A simple tic-tac-toe game created with vanilla JS with conditions for win/lose/draw.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published