๐ฎ Tic Tac Toe Game ๐ฎ
Welcome to the Turn-Based Tic Tac Toe Game! ๐
โโญโฌ
โฌโโญ
โฌโฌโ
๐ง๐ค Entities ๐น๏ธ
- Players: You and your opponent!
- Game Board: The 3x3 grid where you'll make your moves.
- Markers: Choose between "0" and "X" to represent yourself on the board.
- Categories: Every position on the board is associated with a random category.
- Questions: Get ready to answer questions related to the chosen category!
- Scorecard: Keep track of who's winning and how many games have been played.
- Winner: The player who gets three markers in a row wins the game! ๐
๐ฒ How to Play ๐ฒ
-
Start the game, and the board will be initialized with random categories.
-
Take turns with your opponent to choose a marker position on the board. The player who starts can pick their favorite marker - "0" or "X".
-
After selecting a position, a question related to the category will be revealed.
-
Answer the question correctly to place your marker. If you get it wrong, your opponent's marker takes the spot.
-
Keep playing until one of you gets three markers in a row - vertically, horizontally, or diagonally! That player is declared the Winner. ๐ฅ
-
Power Modes: Use special abilities to your advantage:
- ๐ก Change the Question: Don't like the question? Use this power mode to get a new one!
- ๐ต๏ธ Show Hint: Stuck on a question? Reveal a hint to help you out.
Get ready for some thrilling matches of Tic Tac Toe and show off your knowledge in various categories! ๐
๐ Getting Started ๐
To run the game, you'll need Go installed on your machine.
-
Clone the repository:
git clone https://github.com/your-username/tic-tac-toe-golang.git
-
Change to the project directory:
cd tic-tac-toe-golang
-
Run the game:
go run main.go
Enjoy the game! ๐
๐ ๏ธ How to Contribute ๐ ๏ธ
We welcome contributions to make our Tic Tac Toe game even better. Here's how you can contribute:
-
Fork the Repository: Click the "Fork" button on the top right of the repository to create your own copy.
-
Clone Your Fork: Clone your forked repository to your local machine.
-
Create a Branch: Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Make Changes: Make your desired changes, fix bugs, or add new features.
-
Test Your Changes: Ensure that your changes work as expected and don't introduce new issues.
-
Commit Your Changes: Commit your changes with a descriptive message:
git commit -m "Description of your changes"
-
Push Your Changes: Push your changes to your forked repository:
git push origin feature-name
-
Create a Pull Request: Go to the original repository and create a Pull Request. Describe your changes and submit it for review.
-
Review and Collaboration: Your Pull Request will be reviewed, and any necessary feedback or adjustments will be discussed.
-
Merge: Once your Pull Request is approved, it will be merged into the main project.
Thank you for your contribution! ๐
Feel free to open issues or discuss ideas in the repository's "Issues" section. We're excited to build a fun and educational game together. ๐
Enjoy contributing to the project, and happy coding!
How to start
kind-start
kind-clean-start