Skip to content

Build and play a modern, responsive Tic-Tac-Toe game using Angular! ๐ŸŽฎโœจ Perfect for learning and fun! ๐Ÿš€ #Angular #GameDev #TicTacToe

License

Notifications You must be signed in to change notification settings

riteshporiya/angular-tic-tac-toe-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Angular Tic-Tac-Toe Game ๐ŸŽฎ

Welcome to the Angular Tic-Tac-Toe Game repository! This project showcases a modern, responsive Tic-Tac-Toe game built with Angular. Dive into the world of front-end development with this classic game, featuring clean code, modular components, and a sleek user interface. ๐Ÿš€โœจ

Features ๐ŸŒŸ

  • Implements a score tracking system for X wins, O wins, ties, and total games played.
  • Adds "Reset" and "Stop" buttons as shown in the image.
  • Displays the current player's turn.
  • Shows the winner or if it's a draw.
  • The game board is now centered and responsive.
  • Improved visual feedback for player moves (X in blue, O in red).
  • The ability to stop the game at any point.

Future Enhancements ๐ŸŒ 

  • An option to play against an AI opponent.
  • Animations for placing X's and O's.
  • Sound effects for moves and game outcomes.
  • A settings menu to customize game options (e.g., board size, win condition).
  • Local storage to persist scores between sessions.
  • A modal or animation to celebrate the winner.

Getting Started ๐Ÿ› ๏ธ

Follow these instructions to get a copy of the project up and running on your local machine.

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/riteshporiya/angular-tic-tac-toe-game.git
    
    cd angular-tic-tac-toe-game
  2. Install dependencies:

    npm install
  3. Run the application:

    ng serve
  4. Open your browser and navigate to http://localhost:4200.

Usage ๐Ÿ“–

  • Click on a cell to place your move (X or O).
  • The current player's turn is displayed.
  • The score tracking system updates automatically.
  • Use the "Reset" button to start a new game.
  • Use the "Stop" button to stop the current game.
  • Enjoy playing!

Contributing ๐Ÿค

Contributions are welcome! Please open an issue or submit a pull request for any changes or enhancements you would like to see.

License ๐Ÿ“„

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

Acknowledgments ๐Ÿ™

  • Inspired by classic Tic-Tac-Toe games.
  • Built with Angular and Bootstrap.

Happy coding! ๐ŸŽ‰

About

Build and play a modern, responsive Tic-Tac-Toe game using Angular! ๐ŸŽฎโœจ Perfect for learning and fun! ๐Ÿš€ #Angular #GameDev #TicTacToe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published