Computer behavior logic rewritten. Now it uses the minimax algorithm,
which is building the game tree on-demand. Subject to optimization.