On this repository we run RSpec tests to make sure that all the logic methods work properly and give the correct outcome, we tested both positive and negative outcomes making sure it's working as intended.
- Ruby
-
First type
gem install rspec
-
cd into this Project directory
-
rspec spec/logic_testing.rb
- Install git
- Open your local terminal for your specific OS.
- Change the directory using the cd terminal command to a folder.
- Run git clone (link of this repository).
- Install Ruby, google is going to have information about how to install it on your OS.
- cd path/to/tic-tac-toe
- Run ruby bin/main.rb to start the game.
- The game start with both player choosing their names.
- Player 1 is playing as 'X', while player 2 plays as 'O'
- The game starts with player 1 choosing an available cell in the board and then player 2 choosing an available cell in the board
- A player wins by getting 3 cells marked with their letter, either horizontally, vertically or diagonally
- If none of the players is able to win before the board runs out of available squares it's declared a draw.
- Enjoy
👤 NSABIMANA Emmanuel(testing)
- GitHub: @emmyn5600
- Twitter: @NSABIMA62253884
- LinkedIn: @nsabimana-emmanuel-4276091b2
👤 Leonardo L. da Paz(original project and testing)
- GitHub: @leolpaz
- Twitter: @leonardolpaz95
- LinkedIn: Leonardo Paz
👤 Amal Hersi(original project)
- GitHub: @Amalcxc
- Twitter: @Amalcx4
- LinkedIn: Amal Hersi
- Microverse
- Our standup team
This project is MIT licensed.