Skip to content

๐ŸŽฎ Tic-Tac-Toe (XO) โ€” A classic game built with HTML ๐ŸŒ, CSS ๐ŸŽจ, and JavaScript โš™๏ธ. โœจ Features: ๐Ÿงฉ Responsive board ๐Ÿ–ฑ๏ธ Interactive gameplay ๐Ÿ† Win detection ๐Ÿ” Restart option

Notifications You must be signed in to change notification settings

Iqbolshoh/javascript-xo-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ JavaScript XO Game

This is a Tic-Tac-Toe (XO) game implemented using HTML, CSS, and JavaScript. The game allows two players to compete on a 3x3 grid.

๐Ÿ‘€ Preview

๐Ÿ’ป Desktop

Desktop Preview

๐Ÿ“ฑ Mobile

Mobile Preview

๐Ÿš€ Features

  • โœ… Responsive Design: The game adapts to all screen sizes.
  • ๐ŸŽฎ Interactive Game Board: Players can place X or O by clicking on cells.
  • ๐Ÿ† Winner Highlight: The winning combination is highlighted in green.
  • ๐Ÿค Draw Detection: If the game ends in a draw, a message is displayed.
  • ๐Ÿ”„ Play Again Button: A restart button allows players to reset the game and play again.

๐Ÿ› ๏ธ Installation

To set up and run the XO Game on your local machine:

1๏ธโƒฃ Clone the Repository

git clone https://github.com/Iqbolshoh/javascript-xo-game.git

2๏ธโƒฃ Navigate to the Project Directory

cd javascript-xo-game

3๏ธโƒฃ Open the index.html File

Simply open the index.html file in any modern web browser to start playing.

๐Ÿ–ฅ Technologies Used

HTML CSS JavaScript

๐Ÿ“œ License

This project is open-source and available under the MIT License.

๐Ÿค Contributing

๐ŸŽฏ Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.

๐Ÿ“ฌ Connect with Me

๐Ÿ’ฌ I love meeting new people and discussing tech, business, and creative ideas. Letโ€™s connect! You can reach me on these platforms:

About

๐ŸŽฎ Tic-Tac-Toe (XO) โ€” A classic game built with HTML ๐ŸŒ, CSS ๐ŸŽจ, and JavaScript โš™๏ธ. โœจ Features: ๐Ÿงฉ Responsive board ๐Ÿ–ฑ๏ธ Interactive gameplay ๐Ÿ† Win detection ๐Ÿ” Restart option

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published