In this project, we worked on building our own Tic-Tac-Toe Game in ruby, and we make test-driven development (TDD) using the RSpec testing framework.
- Ruby
- Repl
- RSpec
Tic Tac Toe is a game whose main objective is to complete a row, column, or diagonal with the same symbol. Players take turns placing different symbols ("X" or "O") on the board, and the first that completes a row, column, or diagonal, wins. If no one completes them, then the game ends as a "Tie".
To get a local copy up and running follow these simple example steps.
git clone https://github.com/Maha-Magdy/Tic-Tac-Toe-Game.git
You must run bundle in your terminal.
You must run rspec in your terminal.
- Run
bin/main.rb
in the Terminal - Enter the first player's name
- Enter the second player's name
- Press Enter to start the game
- Each player must enter a number from 1-9 that's not already placed on the board
- The game finishes when all places are filled ("TIE") or when a row, column, or diagonal is filled up.
👤Maha Magdy
- GitHub: Maha-Magdy
- Twitter: @Maha_M_Abdelaal
- LinkedIn: Maha Magdy
👤 Arthur Borges
- GitHub: @arthurborgesdev
- Twitter: @arthurmoises
- LinkedIn: Arthur Borges
👤 João Vítor Montanholi Nunes
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.