updated minimax and visual interface