Skip to content

he game allows two players to alternate turns, marking their respective symbols (‘X’ or ‘O’) in a 3x3 grid.

Notifications You must be signed in to change notification settings

mo-jasim/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

Check out this game here: [https://tic-tac-toe.buildwithjasim.tech/]

About

This project is a fully functional implementation of the classic Tic-Tac-Toe game, developed using modern web technologies. The game allows two players to alternate turns, marking their respective symbols ('X' or 'O') in a 3x3 grid. The objective is to achieve three consecutive marks, either horizontally, vertically, or diagonally, to win the game.

Key Features:

  • Responsive Design: The game is built to function seamlessly on all screen sizes, ensuring an enjoyable experience across desktop, tablet, and mobile devices.
  • Interactive UI: Utilizes CSS for a visually appealing interface, combined with JavaScript for dynamic gameplay interactions.
  • Winning Logic: The game includes built-in logic to detect and declare a winner as soon as three marks are aligned, or to announce a draw when all spaces are filled without a winner.
  • Reset Option: After each game, players can reset the board to start a new game without reloading the page.

Technologies Used:

  • HTML5 for structuring the game board and UI elements.
  • CSS3 for styling, layout, and responsive design.
  • JavaScript (ES6) for game logic, interactions, and event handling.
  • Git for version control and project management.

How to Run:

  1. Clone the repository:
    https://github.com/mo-jasim/Tic-Tac-Toe-Game.git
  2. Open the index.html file in your browser.
  3. Start playing by clicking on the grid squares to make your move!

Future Enhancements:

  • Adding AI functionality to allow single-player mode against the computer.
  • Implementing additional difficulty levels for more challenging gameplay.
  • Enhancing the UI with animations and sound effects for a more immersive experience.

Contributions:

Contributions, issues, and feature requests are welcome! Please feel free to check the business@jasim.io if you find any bugs or would like to request enhancements.

About

he game allows two players to alternate turns, marking their respective symbols (‘X’ or ‘O’) in a 3x3 grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published