This Tic Tac Toe game, developed as an interactive console application in Ruby, is designed purely for fun.
It offers a playful way for two players to engage in the classic game, taking turns to place their symbols on a 3x3 grid.
Ensure you have Ruby installed on your machine to run the game. It is developed using Ruby 3.3.0.
Clone the repository:
git clone https://github.com/dmferrari/tic-tac-toe
cd tic-tac-toe
Install the required gems:
bundle install
To launch the game, navigate to the project directory and execute:
./bin/game
Follow the on-screen instructions to play. Each player inputs their move by selecting a position from 1 to 9 on the grid.
Contributions to enhance or expand the game are welcome. To contribute:
- Fork the repository.
- Create a new branch for your enhancements (
git checkout -b improve-feature
). - Make your changes.
- Stage your changes (
git add .
). - Commit your updates (
git commit -am 'Improve feature'
). - Push the branch (
git push origin improve-feature
). - Submit a Pull Request.
This project is made available under the MIT License. For more details, see the LICENSE file in the repository.