Currently we have two variables in gameState that have the same purpose, but which are each used in separate domains, causing confusion and duplication of effort.
One or the other should be deprecated and all instances of the one replaced with the other, such that there is always only one state variable tracking the key of the player who currently has control in the game.
Currently we have two variables in gameState that have the same purpose, but which are each used in separate domains, causing confusion and duplication of effort.
One or the other should be deprecated and all instances of the one replaced with the other, such that there is always only one state variable tracking the key of the player who currently has control in the game.