Search found 11 matches

by zim921
24 July 2025, 13:38
Forum: Developers
Topic: How can I test my PHP backend code outside the BGA platform?
Replies: 3
Views: 209

How can I test my PHP backend code outside the BGA platform?

Hi! I'm currently developing a game for BGA and I was wondering if there is any way to test or run the PHP backend code outside of the official BGA platform. For example, can I simulate function calls or run game logic locally without having to always interact through the web interface? Any suggesti...
by zim921
02 July 2025, 02:36
Forum: Developers
Topic: Issues with typescript
Replies: 2
Views: 93

Issues with typescript

I'm developing a new game and I've seen that many games use TypeScript and SCSS. I'm trying to use them as well, but I have a few questions: I see packages like these, but the game doesn't have a node_modules folder. Where are those modules? Should I run npm install to download them? "bga-cards...
by zim921
28 May 2025, 03:53
Forum: Developers
Topic: change boardgame name
Replies: 1
Views: 87

change boardgame name

HI, i would like to know how to change the name of a game already created and deployed in alpha? is it possible?
thanks!
by zim921
15 May 2025, 17:06
Forum: Developers
Topic: require_once(modules/php/utils/cards.inc.php): Failed to open stream
Replies: 2
Views: 30

Re: require_once(modules/php/utils/cards.inc.php): Failed to open stream

Fixed! Ok, the issue was the path. SHould be use relative path no absolute
by zim921
15 May 2025, 16:22
Forum: Developers
Topic: require_once(modules/php/utils/cards.inc.php): Failed to open stream
Replies: 2
Views: 30

Re: require_once(modules/php/utils/cards.inc.php): Failed to open stream

I'm trying to split my Game.php file to make it more maintainable and easier to understand. Any advice or tips about file structure would be really helpful!
I've completed the Reversi and Hearts tutorials, but I still feel like I have very little knowledge about how to actually make a game.
by zim921
15 May 2025, 16:14
Forum: Developers
Topic: require_once(modules/php/utils/cards.inc.php): Failed to open stream
Replies: 2
Views: 30

require_once(modules/php/utils/cards.inc.php): Failed to open stream

Hi people! im new here and im having issues with the require_once I have a file in modules/php/utils/cards.inc.php, just a constant with values something like this <?php // Suit const CARD_SUITS = []; ?> In modules/php/Game.php im triyng to "import" this file by doing require_once("mo...
by zim921
07 May 2025, 17:12
Forum: Developers
Topic: Please wait, an action is already in progress
Replies: 1
Views: 76

Please wait, an action is already in progress

I’m receiving these messages incrementally when i click on an action. If I refresh, they disappear. Any idea?
Please wait, an action is already in progress
(Generated by: checkAction/actSelectToken)
by zim921
05 May 2025, 20:10
Forum: Developers
Topic: store a value when the page is refreshed!
Replies: 6
Views: 71

Re: store a value when the page is refreshed!

mmm thanks for the answer, i know is a border case, may be the problem is my design since i split in two states. One state for select the token, which handle which tokens belong to the active user, then pass to a second state which based in the token selected calculate the available movements. But i...
by zim921
05 May 2025, 19:11
Forum: Developers
Topic: store a value when the page is refreshed!
Replies: 6
Views: 71

store a value when the page is refreshed!

Hi guys!, im new here and im trying to develop my first game. I need some help with a minor doubt. The user actions in my game is spllited in two. First one he select a token, the server response with the avaiable movements for this token. Second the user select one of this movements. The flow works...

Go to advanced search