5 # Play one move of a Trap the Cap game
8 # ttc [ -b | --board-size SIZE ] [ -i | --input FILE ] [ -r | --robot ROBOT ] [ -h | --help ]
13 require File
.join(File
.dirname(__FILE__
), '..', 'lib', 'libttc')
20 class InvalidRobotError
< StandardError
23 class NoInputFileError
< StandardError
26 class InvalidMoveInHistoryError
< StandardError
29 class GameWonInHistoryError
< StandardError
34 board
= Board
.new(6, 5, 6)