Welcome to the XOXO Game - a classic tic-tac-toe experience (XOXO) game.
- Functionality: Play tic-tac-toe against AI (Artificial Intelligence) single-player mode.
- Tech Stack:
HTML
,CSS
,JavaScript
,Bootstrap
,Font Awesome
,jQuery
,AI
(minimax algorithm for computer opponent)
- Author: @shreyamalogi
- Year of Creation: 2020
- View the Project Here https://shreyamalogi.github.io/XOXO-game/
- Introduction
- Challenegs and Solution
- Features
- How to Play
- Game Rules
- Getting Started
- Contributing
- License
This project is a web-based Tic-Tac-Toe game developed by Shreya Malogi. It allows players ๐ฎ to compete against AI ๐ค and enjoy a classic game of XOXO. ๐๐ฎ
Challenge: Implementing Tic-Tac-Toe logic, ensuring valid moves and determining wins or ties.
Solution: Shreya's research and step-by-step approach effectively crafted the core game functionality.
Challenge: Creating a challenging AI opponent with strategic moves.
Solution: Shreya implemented the minimax algorithm, elevating the game's excitement.
Challenge: Rigorous testing for a bug-free and functional game.
Solution: Shreya's thorough testing and user feedback refined the game for a smooth experience.
- Choose Your Symbol ๐ก: Play as either 'X' or 'O'.
- Interactive UI ๐จ: Enjoy a user-friendly and visually appealing game interface.
- Player vs. Computer ๐ค: Test your skills against an AI opponent.
- Scoreboard ๐: Keep track of your wins and losses.
- Responsive Design ๐ฑ: Play the game on various devices with ease.
- Open the
index.html
file in your preferred web browser. - Player 1 selects their symbol by clicking on โ or โญ.
- The game begins, and players take turns making moves.
- If playing against the computer, watch out for its strategic moves!
- Continue until a player wins or the game ends in a tie.
- Scores are displayed on the right, and game status is shown at the bottom.
- To start a new game, click the โป๏ธ icon in the top-right corner.
- Follows standard tic-tac-toe rules. ๐๐น๏ธ
- Achieve three in a row horizontally, vertically, or diagonally to win. ๐๐ข
- A tie occurs if all cells are filled with no winner. ๐ค๐ซ
To run the XOXO Game locally on your machine, follow these detailed steps:
-
Clone the Repository:
- Open your terminal.
- Run the command:
git clone https://github.com/shreyamalogi/XOXO-game.git
.
-
Open the Game:
- Navigate to the cloned directory using:
cd XOXO-game
. - Find and open the
index.html
file in your preferred web browser.
- Navigate to the cloned directory using:
Now you can enjoy the XOXO Game on your local machine!
Alternatively, you can play the game online at web app or GitHub Pages. ๐๐ฎ
Feel the enchantment? Contribute to this magical adventure and make it even more spellbinding. Don't forget to star the project! โญ๐
This magical creation is licensed under the spell of the MIT License. Share the magic responsibly!
MIT License
Copyright (c) 2020 Shreya Malogi
Stay Enchanted! ๐๐