How to troubleshoot a tutorial?

Game development with Board Game Arena Studio
Post Reply
User avatar
Ciffy
Posts: 30
Joined: 18 August 2015, 21:59

How to troubleshoot a tutorial?

Post by Ciffy »

Hey all, first timer here going through the reversi tutorial and trying to get my feet wet. I've made it up until the point where it should be showing the possible moves, but it's not. There's nothing for me to click on to advance the game and nothing in any of the logs that I can find that gives me anything to go on. I've been following the wiki article step by step as best as I can tell, so I'm not sure where to start with troubleshooting. Tips or pointers would be greatly appreciated.

https://en.doc.boardgamearena.com/Tutorial_reversi

https://studio.boardgamearena.com/gamep ... versiciffy
User avatar
BrianLovesMarvel
Posts: 41
Joined: 20 March 2020, 23:58

Re: How to troubleshoot a tutorial?

Post by BrianLovesMarvel »

I'm new too and still learning a lot. I've found going into the dev tools on the browser (Ctl-Shift-I) and adding debugging output to the javascript console and alerts to be very helpful.

Code: Select all

console.log(var); 
console.log("testing"); 
alert("var="+var);

There are further suggestions here:
https://en.doc.boardgamearena.com/Practical_debugging

Best wishes, Brian
User avatar
Ciffy
Posts: 30
Joined: 18 August 2015, 21:59

Re: How to troubleshoot a tutorial?

Post by Ciffy »

Thanks for the response and holy crap that link looks super useful! I was already using Js alerts to no avail. Tried it in another browser and it worked so I knew it wasn't the code. Turns out, in my case, I needed a Ctl+F5 because the css or whatever was cached.
Post Reply

Return to “Developers”