iTzTalha / tic-tac-toe

The game offers a classic yet customizable gaming experience, allowing players to enjoy the age-old game with a modern twist.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-Tac-Toe Terminal Game

Description

This Tic-Tac-Toe game is implemented in Java and runs in the terminal. It offers a classic yet customizable gaming experience, allowing players to enjoy the age-old game with a modern twist. The game grid can be configured to any size, making it suitable for various playstyles and challenges.

Key Features

  • Customizable Grid Size: The game grid can be configured to any size, allowing players to choose from traditional 3x3 grids to larger grids for added complexity.
  • Flexible Number of Players: Players can enjoy the game with any number of participants, making it suitable for solo play, head-to-head matches, or group gaming sessions.
  • User-Friendly Interface: The game interface is designed to be intuitive and easy to use, providing players with a seamless gaming experience in the terminal environment.
  • Modern Design Principles: The game is developed using clean code principles and design patterns, ensuring readability, maintainability, and scalability of the codebase.

How to Play

  • Set Up: Choose the desired grid size and number of players before starting the game.
  • Gameplay: Players take turns placing their marks (X or O) on the grid, aiming to create a line of their marks horizontally, vertically, or diagonally.
  • Winning Condition: The first player to form a complete line of their marks wins the game. If the grid is filled before any player achieves this, the game ends in a draw.
  • End Game: The game ends when a player wins or when there are no more empty spaces left on the grid.

Enjoy the Game!

Experience the classic game of Tic-Tac-Toe in a whole new light with this customizable and user-friendly terminal implementation. Whether you're playing solo or with friends, this game promises hours of fun and entertainment for players of all ages.

Feel free to contribute, provide feedback, or report any issues on GitHub. Let the games begin!

Show Your Support

Give a ⭐️ if you like this project!