No description
Find a file
2025-09-06 11:35:40 +02:00
lib/app Better TicTacToe 2025-09-06 11:35:40 +02:00
spec 1TicTacToe 2025-05-29 21:57:10 +02:00
.gitignore 1TicTacToe 2025-05-29 21:57:10 +02:00
.rspec 1TicTacToe 2025-05-29 21:57:10 +02:00
app.rb Better TicTacToe 2025-09-06 11:35:40 +02:00
Gemfile Better TicTacToe 2025-09-06 11:35:40 +02:00
Gemfile.lock Better TicTacToe 2025-09-06 11:35:40 +02:00
README.md Better TicTacToe 2025-09-06 11:35:40 +02:00

⭕ Tic Tac Toe - The Ultimate Battle! 💢

📖 Description

    🎯 My first Ruby masterpiece! A classic Tic Tac Toe game where two players battle for supremacy on a 3x3 grid.
    The goal is simple: be the first to align three of your symbols horizontally, vertically, or diagonally to claim victory! 🎯

🛠️ Prerequisites

                        - Ruby (version 3.4.5)
                        - Bundler gem manager
                        - Terminal/Command line interface

📦 Installation

  1. Clone the repository:
            git clone https://github.com/Paarroo/TicTacToe.git
  1. Navigate to the project directory:
                        cd TicTacToe
  1. Install dependencies:
                        bundle install
## 🎮 How to Play
  1. Run the game with:
                        ruby app.rb
                  2. Navigate through the colorized menu system
                  
                     3. Enter player names when prompted
                     
                4. Players are randomly assigned symbols (🌚 or 🌝)
                
      5. Take turns placing your symbol by entering a number (1-9) corresponding to the grid position:
                        1 | 2 | 3
                       -----------
                        4 | 5 | 6
                       -----------
                        7 | 8 | 9
                    6. First player to get three in a row wins! 🏆

✨ Features

                        - 🌈 Colorized terminal interface
                        - 🎮 Interactive menu system
                        - 🎉 Victory animations
                        - 📋 Built-in game rules
                        - ⚡ Enhanced user experience

🎨 Screenshots

Welcome Banner

                    ╔══════════════════════════════════════╗
                    ║          🎮 TIC TAC TOE 🎮          ║
                    ║        The Ultimate Battle!         ║
                    ╚══════════════════════════════════════╝

Main Menu

                  1️⃣  New Game - Start a fresh battle!
                  2️⃣  Rules - Learn how to play
                  3️⃣  Quit - Exit the game

                  Choose your option (1-3):

Game Board

                         1 │ 2 │ 3
                       ━━━━━━━━━━━━━━━
                         4 │ 🌚 │ 6
                       ━━━━━━━━━━━━━━━
                         🌝 │ 8 │ 9

Victory Animation

         🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

                        🏆 VICTORY! 🏆

                  🥳 Paarroo wins with 🌚 ! 🎉

         🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

Built with ❤️ and Ruby !