Skip to content

scnkera/ticTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A JavaScript pogram that illustrates tic-tac-toe the two player game Tech stack: JavaScript, CSS, HTML, and Bootstrap

  1. Show the user the 3x3 grid 2A. User needs to pick a spot to play 2B. Get all buttons. 2C. Attach onclick to all of them. 3A. Show the "X" in the spot they played... 3B. Unless the spot was already taken.
  2. Check for exception: if the player won: display message. Clear board. For a challenge, make the line show where the win was.
  3. If no player has won, let the "O" player play & re-run 2-4. Keep track of who's turn it is. Based off who's turn, make that character show up.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published