project 0
Tic-Tac-Toe (also known as zeros and crosses or Xs and Os) is a paper and pencil game for two players, X and O, who take turns marking the spaces on a 3 × 3 grid. three of your marks in a horizontal, vertical or diagonal line wins the game. My idea was to create a thematic version of Star Wars with an opening page and another that directs to the game, tried through sounds and effects to bring that thought of battle star wars.
how can Start Link : https://leolasz.github.io/Star-wars---tic-tac-toe/index.html
How to Play This game is designed to play against Computer. Each player need to tick one by one on 3X3 board.Your goal is to win the board by getting three in a row - either across, down, or diagonally - or getting a majority of the squares in a full grid. The first player to draw that, wins the game. If none of the player get the winning combination, game will announce as draw and start again.
///////COMMENTS HOW I BUILD YHE GAME
- html 1-creation of the page structure 2- creation of DIV's for each square 3- audio tag opening the website. 4 onclick audio tag
JS and Jquery
step 1 - create function for TURN step 2 - create function for RESULT step 3 - create functions with area (s) for click base area in html step 4 = create a function for verify winner step 5 - create standards for win (I created 8 standards of possibilities to win the game) step 6 create alert for the winner using tag alert or in DRAW CASES step 7 - create func in DRAW CASES