There is a bug when you change side parameter in url.For example, x to OX and it still creating the game as side x with parameter side = OX. Shown in picture 1:
Picture 1:
Then, when another player joins the game and starts to play.The game will crash.
This problem can be fixed by :
Change code in action startgame as following:
change format to get side from parameter side instead of setting it as x by default.Shown in pictures below.
There is a bug when you change side parameter in url.For example, x to OX and it still creating the game as side x with parameter side = OX. Shown in picture 1:
Picture 1:
Then, when another player joins the game and starts to play.The game will crash.
This problem can be fixed by :