Vanilla JS Tic-Tac-Toe 2021

Building a tic-tac-toe game using pure vanilla javascript.

This repository shows the steps taken to build a tic-tac-toe game using javascript.

Approach

  1. Understand the problem
  2. Create a solution
  3. Test the solution
  4. Make it user friendly
  5. Find ways to improve the solution

What is the problem?

  1. How to detect when a player wins?
  2. When does the game end?