https://github.com/radicalzephyr/ttt_cli
The broken out CLI interface to my ruby tic tac toe game.
https://github.com/radicalzephyr/ttt_cli
Last synced: 3 months ago
JSON representation
The broken out CLI interface to my ruby tic tac toe game.
- Host: GitHub
- URL: https://github.com/radicalzephyr/ttt_cli
- Owner: RadicalZephyr
- License: mit
- Created: 2015-08-06T20:46:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-01T05:44:39.000Z (over 2 years ago)
- Last Synced: 2025-02-15T12:13:54.864Z (3 months ago)
- Language: Ruby
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# TttCli
Command line interface for TicTacToe.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'ttt_cli'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install ttt_cli
## Usage
Run `bin/ttt_cli` enjoy being beaten repeatedly and brutally by my
perfect minimax AI. At least it will be quick :)## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
1. Fork it ( https://github.com/[my-github-username]/ttt_cli/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request