<img src=“https://travis-ci.org/neopoly/connect_four.svg?branch=master” alt=“Build Status” />
Console based “Vier gewinnt”.
$ connect_four
player x> 3
12345678 ........ ........ ........ ........ ........ ........ ........ ..x.....
player o> 4
12345678 ........ ........ ........ ........ ........ ........ ........ ..xo....
Many moves later…
player x> 2
12345678 ........ ........ ........ ........ ........ ........ ..xoox.. .xxoox.x
player o> 4
12345678 ........ ........ ........ ........ ........ ...o.... ..xoox.. .xxoox.x
rake test
Fork from github.com/neopoly/connect_four
git clone git@github.com:YOURNAME/connect_four.git cd connect_four # mit rvm: # ruby -v # -> 2.5.1 bundle rake
ruby-2.5.1
rvm install ruby-2.5.1 rvm use 2.5.1 ruby -v # => 2.5.1
bundler # Gemfile rake # Rakefile minitest