Tutorial: Reversi not fully implemented?

Game development with Board Game Arena Studio
Post Reply
ryschwith
Posts: 3
Joined: 02 May 2020, 18:07

Tutorial: Reversi not fully implemented?

Post by ryschwith »

So I've been going through the reversi tutorial, and it kind of just stops at some point. Tutorial's not completed yet, that's fine. So I figured I'd open up the reversi code that gets added automatically to the SFTP folder to see if I can spot the differences... and there don't really seem to be any. Well, there are a few: it can actually end the game and it has the function to update game progress. But there doesn't appear to be anything to bridge that and where I've landed at the end of the tutorial.

Having reached, the end of the tutorial, I have a game where two players can log in and add discs to the board, and it'll flip them as expected, calculate the score, and send out all of the appropriate notifications. However, it doesn't update to the next player until I manually refresh. Is that expected by the end of tutorial as it exists today? If so, has that also not been implemented in the full reversi code or am I missing something?
User avatar
LaszloK
Posts: 36
Joined: 05 January 2018, 19:00

Re: Tutorial: Reversi not fully implemented?

Post by LaszloK »

I haven't checked out the Reversi tutorial yet, but what I can attest is that the Hearts tutorial is incomplete (and different from the actual Hearts implementation running on the mainsite). For example, the tutorial version doesn't have code in place to always put the current player (if the viewer is one of the players) on the south edge of the table. My hunch would be that the Reversi tutorial might just as well be a little rough around the edges here and there :)
User avatar
Loreroth
Posts: 18
Joined: 05 August 2014, 07:28

Re: Tutorial: Reversi not fully implemented?

Post by Loreroth »

The tutorials tend to cover the main points but gloss over some details here and there. Consider it a good practice experience to compare what you've written with the fully implemented versions that came in your directory to fill in the blanks.

The tutorials are more a guide than a fully detailed write up. Some parts of the tutorials were written quite a while ago as well. Looking at the edit history, the hearts tutorial is probably the most recent overall.
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: Tutorial: Reversi not fully implemented?

Post by Victoria_La »

Yes tutorials are incomplete but it should be more less working version. Is something clearly does not work properly it may need update as some stuff change in last 10 years... Or its possible you made a mistake following steps and its your own bug... If page does not refresh means it missing notification handler, it sometimes easy to miss because its by function name and if you misspell it slightly it won't work

It is also a wiki page and you can edit it if you find mistakes...
User avatar
Loreroth
Posts: 18
Joined: 05 August 2014, 07:28

Re: Tutorial: Reversi not fully implemented?

Post by Loreroth »

Victoria_La wrote: 06 May 2020, 01:44 It is also a wiki page and you can edit it if you find mistakes...
Im still in the process of learning everything :( . Something I can look into once i'm more confident in being able to provide a good quality addition.
Post Reply

Return to “Developers”