The game should default to PvP mode if last played AvA mode ... In private window should open but don't know what is the problem. It is programmed to NOT autostart AvA mode!
It hasn't helped, but I tried it in a private window, and the AI just keeps thinking way past the 15-second time limit I set. On the plus side, now it doesn't lock up the browser anymore.
I've updated the code. Now the game will always start in PvP on page reload. You have to lower the iterations count as well, but under 5000 I don't think the results would be very promising... This thing became very CPU hungry!
Yes it has. With the number of iterations set to 5000 and the time limit to 15s, the game is at least playable again, but still extremely slow. Going to try from a more powerful computer. Thank you so much for all the help!