For the web version, there should be an AI handling the opponent. It's very awkward trying to play against myself.
Wasn't time for ai unfortunately. It was more complex than we thought.