Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 520 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 520 Bytes

ttt

Build Status Coverage Status

Simple repo for testing testing

Usage

# gem install bundler
# bundle install
# irb -I lib

require 'tictactoe'
ttt = TicTacToe.new([["X", "X", "X"],
                     ["O", "O", "_"],
                     ["O", "_", "_"]])

ttt.winner # => "X"

To run tests:

rake test