TicTacToe Project - Can't get my function that switches between players to work


Hey guys i’m having a bit of trouble with the tictactoe project. I have written a function that determines which players turn it is called takeTurn(). However for some reason it wont switch players to player 2 even when I call player2.takeTurn(). Heres a link to the code on github if someone thinks they might be able to help. https://github.com/gabrieldavison/tictactoe/blob/master/script.js



Did you get this working now?