Jonfurr / TicTacToe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToe

Technologies Used: Html CSS JS jQuery GoogleFonts normalize.css Bootstrap.css Animate.css

Approach: Used Bootstrap to complete the layout of Header, Scoreboards, and gameboard; Used jQuery to make buttons clickable. Used jQuery to make innerHTML of buttons equal X or O depending on players turn; Used javascript to determine winner with if/else statements. Attempted loops for DRYness and failed. Used jQuery and animate.css to create a flashing message of game outcome. Used jQuery to make reset button clear inner HTML of all gameboard buttons. Used jQuery to update Wins/Losses counters based on game outcome.

Unsolved problems: Can't make buttons clickable only once. Yet.

Install: http://codytictactoe.bitballoon.com/

About


Languages

Language:HTML 43.9%Language:JavaScript 40.3%Language:CSS 15.8%