Skip to content

rishanmenezes/PRODIGY_WD_03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PRODIGY_WD_03

Tic Tac Toe Web Application for my Web Development Internship at PRODIGY Infotech.

โœจ Task Overview

Objective: To build an interactive Tic Tac Toe Web Application that:

  • Allows two players to play against each other.
  • Implements logic to track the game state and check for winning conditions.
  • Is styled to provide a clean and user-friendly interface.

๐Ÿ”ง Technologies Used

  • HTML5: For creating the structure of the game board and interface.
  • CSS3: For styling the game board and making the application visually appealing.
  • JavaScript: To implement the game logic, including user interactions, state tracking, and winner determination.

๐Ÿ“‚ Project Structure

  • index.html # Main HTML file for the game structure.
  • styles.css # CSS file for styling the Tic Tac Toe application.
  • script.js # JavaScript file for game functionality.
  • README.md # Documentation.

๐Ÿš€ How to Run This Project

๐Ÿ“– What I Learned

  • Building an interactive game interface using HTML and CSS.
  • Writing JavaScript functions to handle:
    • User clicks and interactions.
    • Tracking the game state (whose turn it is and which cells are marked).
    • Checking for winning conditions (three in a row, column, or diagonal).
    • Resetting the game.
  • Enhancing the user experience with responsive design and visual feedback.

๐ŸŽฎ Game Features

  • Two-player Mode: Players take turns to place their markers (X or O).
  • Winner Detection: Automatically detects and highlights the winning row, column, or diagonal.
  • Game Reset: Allows players to reset the board for a new game.

๐Ÿค Acknowledgments

  • Thanks to PRODIGY Infotech for the opportunity to build this project.
  • Resources: MDN Web Docs, W3Schools, JavaScript.info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published