Console based “Vier gewinnt”.
$ connect_four
playerx> 2
12345678 ........ ........ ........ ........ ........ ........ ..xoox.. .xxoox x
playero> 4
12345678 ........ ........ ........ ........ ........ ...o.... ..xoox.. .xxoox x
rake test
Fork from https://github.com/neopoly/connect_four git clone [email protected]:YOURNAME/connect_four.git cd connect_four # mit rvm: # ruby -v # -> 2.0.0 # rvm gemset name # => connect_four bundle rake
ruby-2.0.0p0
rvm install ruby-2.0.0 rvm use 2.0.0 ruby -v # => 2.0.0
bundler # Gemfile rake # Rakefile minitest