A command line game built in ruby
- Ruby
- Rubocop
-Should have ruby installed
Ruby v2.7
bundler
gem installed
- Clone the git repo
- run
bundle install
in root directory.
- Open terminal
- cd onto program folder
- run
./bin/main.rb
- Players should enter their names
- A grid will be displayed so the first player can pick a cell to start the game
- Players will select one cell on each turn until the game is over
- Players cannot select an ocupied cell
- Two players Game
- The game is played on a grid that's 3 squares by 3 squares
- Each player has a "X" or "O" Token
- once a player get 3 marks on a row its the winner
- If all 9 cells are occupied but none of the players got 3 marks in a row is a draft
-Open the console -cd to the Tic-Tac-Toe project -Run gem install rspec -Run rspec
👤 Natalia Macias
- Github: @NataJenkins
- Twitter: @NataJenkins
- Linkedin: linkedin Profile
👤 K
- GitHub: @harshdeepkanhai
- Twitter: @harshdeepkanhai
- 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.