Skip to content

mirayatech/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tic-Tac-Toe

Tic Tac Toe game built with HTML, CSS and JavaScript ๐Ÿ”ข

About this project ๐Ÿš€

When the user chooses who he wants to be (X or O), the select-box will disappear and the playboard will be visible. At the top of the board section are player names (X or O) that indicate or show whose turn it is now. In the center of the page there is a tic-tac-toe play area with nine square boxes. When you click on a box, the character you selected in the selection field is visible.

After clicking on any box, after a few seconds, the bot will automatically select the box that has not been previously selected by you or the bot, and the opposite icon is visible means that if your icon is "X", the bot will have an "O". Once a match is won by someone, the playboard will be hidden and the result box appears with the winner sign or icon and a replay button.

If no one wins the match and all nine-box selected then again the playboard section is hidden and the result box appears with โ€œMatch has been drawn textโ€ and a replay button. When you click the replay button, the current page will be reloaded and you can play again.

Technologies ๐Ÿ› ๏ธ

  • HTML
  • CSS
  • JavaScript

How it looks ๐ŸŽฅ

Live: https://toxo-two.vercel.app/

vllo.7.mp4

Releases

No releases published

Packages

No packages published