Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 1.75 KB

README.md

File metadata and controls

52 lines (27 loc) · 1.75 KB
Screenshot 2023-10-14 at 6 44 31 PM

This is a simple implementation of the classic Tic-Tac-Toe game with added features, including a progressive web app (PWA) setup. The game is built using HTML, CSS, and JavaScript.

How to Play

  1. Open the game by visiting the deployed PWA URL or by running it locally.

  2. The game starts with "X's turn." Click on an empty cell to make your move. The cell will be marked with "X" or "O," depending on the current player's turn.

  3. The game will automatically detect when a player wins or when it's a draw.

  4. To start a new game, click the "New Game" button.

  5. The game can be installed as a PWA for offline access. Simply follow the browser's installation prompts.

Progressive Web App (PWA)

This game is built as a Progressive Web App (PWA), which means you can install it on your device for offline use and home screen access. The PWA setup includes service worker caching for optimal performance.

To install the game as a PWA, follow these steps:

  1. Open the game in a supported browser.

  2. Look for the browser's "Install" or "Add to Home Screen" option.

  3. Follow the prompts to install the game as a PWA.

Customization

You can customize the game by modifying the HTML, CSS, and JavaScript files. You can change the appearance, add new features, or adapt the game to your needs.

Credits

  • This project is inspired by various online resources
  • Created by Chat-GPT and @vishakh-abhayan

License

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

Enjoy playing ToeTally