What it does

This is a recreation of the classic Tic Tac Toe game in vanilla JS. The player turns are displayed on the screen. When the player makes a move the turn shifts to another player. Game ends when one of the player wins. There is a option to restart the game

How we built it

This was built using vanilla JS, CSS and HTML. The grid is a set of divs that respond to a click listener and based on a condition compute out the required game logic

What we learned

Learnt about the DOM Manipulation and JS Usage

What's next for Javascript Tic-Tac-Toe

Recreating more of the retro and simple old games in Vanilla Javascript

Built With

Share this project:

Updates