A tic tac toe ruby engine