improved tie checking, removing AI from board class