Page 1 of 1

BGA class files?

Posted: 10 April 2020, 18:49
by Plexplex
Hello all. I'm a newbie that found BoardGameArena.com the middle of the COVID-19 precautions and I love the concept! I'm a software developer myself so I jumped right in to looking to learning the process and maybe be able to contribute to the game development.

(And my PHP is dusty, so my apologies if I'm overlooking something obvious.)

But I noticed that the Hearts tutorial files that new developers are given extends a "Table" class, which appears to come from table.game.php. I've reviewed the tutorial documentation and the wiki, but I can't find this table.game.php file. I'd like review it to make sure I understand what is being inherited, what is overridden, etc.

Any advice for this or any other BGA classes that are commonly used but not included in the tutorial files would be appreciated.

Re: BGA class files?

Posted: 10 April 2020, 22:59
by Victoria_La
The framework files are not available as source, but all docs are on wiki. Its has lots if stuff',for main game interface API's are here
http://en.doc.boardgamearena.com/Main_g ... e.game.php

If you really want to see all methods names, you can check here, but if they are not documented - its not an API
https://github.com/elaskavaia/bga-share ... sc/php.txt

Re: BGA class files?

Posted: 11 April 2020, 14:49
by Plexplex
Thank you!