No description
- Ruby 100%
| lib/app | ||
| spec | ||
| .gitignore | ||
| .rspec | ||
| app.rb | ||
| Gemfile | ||
| Gemfile.lock | ||
| README.md | ||
⭕ 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
- Clone the repository:
git clone https://github.com/Paarroo/TicTacToe.git
- Navigate to the project directory:
cd TicTacToe
- Install dependencies:
bundle install
## 🎮 How to Play
- 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 !