This interactive Tic-Tac-Toe game pits a wolf against a pig in a classic battle of wits. With randomized computer moves, dynamic winner and loser messages, local storage for keeping score, and audio effects, the game offers a fun, engaging experience. Includes easy reset and progressive win tracking. Customizable audio and slick UI.
- Randomized Computer Moves: Adds unpredictability to the game.
- Dynamic Messages: Showcases different messages for winner and loser.
- Local Storage: Keeps track of player and computer wins even after you close the tab.
- Audio Effects: Adds an immersive experience.
- Responsive UI: Aesthetic and user-friendly interface.
- Progress Bar: Keep track of each player's progress with an interactive progress bar that fills up as you or the computer win rounds. The progress bar helps give a visual indication of the state of the game and how close each competitor is to total dominance.
- Clone this repository:
git clone https://github.com/kraffcho/Tic-Tac-Toe-Wolf-vs-Pig.git- Navigate to the project directory:
cd Tic-Tac-Toe-Wolf-vs-Pig- Install dependencies:
npm install- Run the project:
npm startTo play the game, click on the grid to place your symbol. The computer's turn will automatically follow.
To start a new game, click the "New Game" button that appears after each game is finished.
If you want to reset the score record, simply click the "Score Board".
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
MIT © Stoyan Kostadinov
