This is a CLI tic-tac-toe game built in Ruby with test-driven development.
- Check the version of Ruby install on your computer
- If you do not have Ruby 2.7.0, install it here.
$ ruby -v
- Install dependencies
$ bundle install
- Give your file permission to be executed
$ chmod +x ./bin/tic_tac_toe.rb
- Run the program
$ ./bin/tic_tac_toe.rb
- Install dependencies:
$ bundle install
- Run tests
$ bundle exec rspec
This project uses RuboCop to assure that the project conforms to the Ruby Style Guide.
To run the linter:
$ bundle exec rubocop
To automatically fix issues:
- More here
$ rubocop --safe-auto-correct
- Ruby v2.7.0
- RSpec - For test-driven development
- RuboCop - A linter based on the Ruby Style Guide
Built with awesome feedback from olgaboiar, bjornkjohnson, christophermanahan, and rstein66!