Skip to content

Conversation

tajulafreen
Copy link
Owner

Title: Add Tic Tac Toe Game using HTML, CSS, and JavaScript

Description: This PR introduces the implementation of a simple Tic Tac Toe game built with HTML, CSS, and JavaScript. The key features include:

  • Two-player gameplay: Players alternate between X and O.
  • Win and draw detection: Automatically checks for a winner or a draw after each move.
  • Game reset: Players can restart the game with a button that resets the board and the game state.
  • Responsive UI: The game is playable on desktop and mobile devices.

Changes Made:

  • Added HTML structure for the Tic Tac Toe grid and control buttons.
  • Styled the board and game elements using CSS.
  • Implemented game logic with JavaScript:
  • Handles player moves.
  • Detects the winner or draw condition.
  • Provides a restart option for the game.

@tajulafreen tajulafreen merged commit b8b35d0 into main Dec 24, 2024
5 checks passed
@tajulafreen tajulafreen deleted the Tic_Tac_Toe branch December 24, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant