Hi, I'm running the Reversi tutorial to wet my feet on the BGA Studio and got stuck on this issue. On the Test the Token step it says to insert this line of code in the setup function on modules/js/Game.js
The issue is that this.player_id returns undefined, and at this stage of the tutorial I don't know how to get the player ID to pass to the addDiscOnBoard function.
Just want to know if it's me of the tutorial that is missing something. Thanks!
Code: Select all
this.addDiscOnBoard(2, 2, this.player_id, false);
Just want to know if it's me of the tutorial that is missing something. Thanks!