go-tictactoe

command module
v0.0.0-...-e8a1a9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 8 Imported by: 0

README ยถ

๐ŸŽฎ 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 ๐ŸŽฒ

  1. Start the game, and the board will be initialized with random categories.

  2. 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".

  3. After selecting a position, a question related to the category will be revealed.

  4. Answer the question correctly to place your marker. If you get it wrong, your opponent's marker takes the spot.

  5. Keep playing until one of you gets three markers in a row - vertically, horizontally, or diagonally! That player is declared the Winner. ๐Ÿฅ‡

  6. 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.

  1. Clone the repository:

    git clone https://github.com/your-username/tic-tac-toe-golang.git
    
  2. Change to the project directory:

    cd tic-tac-toe-golang
    
  3. 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:

  1. Fork the Repository: Click the "Fork" button on the top right of the repository to create your own copy.

  2. Clone Your Fork: Clone your forked repository to your local machine.

  3. Create a Branch: Create a new branch for your feature or bug fix:

    git checkout -b feature-name
    
  4. Make Changes: Make your desired changes, fix bugs, or add new features.

  5. Test Your Changes: Ensure that your changes work as expected and don't introduce new issues.

  6. Commit Your Changes: Commit your changes with a descriptive message:

    git commit -m "Description of your changes"
    
  7. Push Your Changes: Push your changes to your forked repository:

    git push origin feature-name
    
  8. Create a Pull Request: Go to the original repository and create a Pull Request. Describe your changes and submit it for review.

  9. Review and Collaboration: Your Pull Request will be reviewed, and any necessary feedback or adjustments will be discussed.

  10. 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

Documentation ยถ

Overview ยถ

Copyright ยฉ 2022 sarvsav codingtherightway@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL