painfully translated minimax, untested