I am following along with the reversi tutorial. I've reached the part where it says
"Now, to test if everything works fine, just call "this.addTokenOnBoard( 2, 2, <your_player_id> )" in your "setup" Javascript method, and reload the page. A token should appear and slide immediately to its position, like this: "
I don't know what I put for <your_player_id>
I understand that to use addTokenOnBoard it pulls x, y, and player.
I don't know what player is.
Is it the actual name of the players?
is it some sort of array listing the players, i.e; player1, player2, etc.
I've tried searching all the files in my home folder for some initialization of players but didn't see anything.
I'm new to BGA dev, and have most experience with C# coding.
haha, to be frank, I don't even know what programming language I'm learning in this tutorial, is it html, java, javascript?
"Now, to test if everything works fine, just call "this.addTokenOnBoard( 2, 2, <your_player_id> )" in your "setup" Javascript method, and reload the page. A token should appear and slide immediately to its position, like this: "
I don't know what I put for <your_player_id>
I understand that to use addTokenOnBoard it pulls x, y, and player.
I don't know what player is.
Is it the actual name of the players?
is it some sort of array listing the players, i.e; player1, player2, etc.
I've tried searching all the files in my home folder for some initialization of players but didn't see anything.
I'm new to BGA dev, and have most experience with C# coding.
haha, to be frank, I don't even know what programming language I'm learning in this tutorial, is it html, java, javascript?
