Skip to content

Enjoy the classic Tic Tac Toe game with customizable markers, colors, and player names. Play against a friend or challenging AI. Responsive design, visually appealing interface. Source code for HTML, CSS, JavaScript implementation. Experience hours of interactive and addictive fun!

License

Notifications You must be signed in to change notification settings

Shahir-47/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

This is a simple implementation of the Tic Tac Toe game using HTML, CSS, and JavaScript. The game allows two players to play against each other or against an AI opponent.

Website

You can access the website at: https://shahir-47.github.io/Tic-Tac-Toe/

Usage

To use the Tic Tac Toe game, follow these steps:

  1. Open the Tic-Tac-Toe in a web browser by clicking here or copy this link: https://shahir-47.github.io/Tic-Tac-Toe/ and paste it in the address bar of your web browser.
  2. The game will be displayed on the web page.
  3. Choose the game options, including player names, markers, colors, and opponent type (human or AI).
  4. Click the "Start Game" button to begin the game.
  5. Players take turns clicking on the squares of the game board to make their moves.
  6. The game will indicate the current player's turn and display the result (win, lose, or draw).
  7. To reset the game, click the "Reset" button.

File Structure

The project files are organized as follows:

  • index.html: The main HTML file that contains the structure of the game.
  • css/normalize.css: A CSS file that provides consistent styling across different browsers.
  • css/style.css: A CSS file that defines the styles for the game elements.
  • script.js: A JavaScript file that handles the game logic and interaction.

Dependencies

The game relies on the following files and resources:

  • img/icon.svg: An SVG file used as the game's icon.
  • img/github.svg: An SVG file used to display the GitHub logo in the footer.
  • font/TicTacToe.ttf: A TrueType Font file used to display a custom font for the game.

Browser Compatibility

The Tic Tac Toe game is compatible with modern web browsers that support HTML5, CSS3, and ECMAScript 6 (ES6) features.

Credits

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any issues or further information, please refer to the source code repository or contact me at [ahmeds@dickinson.edu].

About

Enjoy the classic Tic Tac Toe game with customizable markers, colors, and player names. Play against a friend or challenging AI. Responsive design, visually appealing interface. Source code for HTML, CSS, JavaScript implementation. Experience hours of interactive and addictive fun!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published