fixed minimax dog score logic