handled end-of-game
updated for t-t-t minimax