kiytang / tic_tac_toe_ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToeAi

###Task: To create a command line Tic-Tac-Toe game using Ruby that allows a human to play against an unbeatable computer player. The computer player must never lose and should win when possible.

###To Run On the command line run:

$ ruby ./play

Installation

Add this line to your application's Gemfile:

gem 'tic_tac_toe_ai'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tic_tac_toe_ai

Contributing

  1. Fork it ( http://github.com//tic_tac_toe_ai/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 new Pull Request

About

License:MIT License


Languages

Language:Ruby 100.0%