Search found 44 matches

by imralav
10 November 2024, 06:54
Forum: Developers
Topic: Validating specific game actions (with Arguments)
Replies: 4
Views: 204

Re: Validating specific game actions (with Arguments)

I don't think there is a mechanism you have in mind. You need to have your own code do the validation, considering the game's rules. As for the general approach to give frontend a tip on which moves are available now, which cards can be played and so on, I am too young here to be 100% certain, but i...
by imralav
22 October 2024, 15:05
Forum: Developers
Topic: Can I use React.js?
Replies: 8
Views: 486

Re: Can I use React.js?

Tof's posts changed my perspective on that a little. I might try wiring React in my next project (if that ever happens, I am struggling to tolerate php, if it wasn't for github copilot, I don't know if I would do it :D)
by imralav
21 October 2024, 12:27
Forum: Developers
Topic: Can I use React.js?
Replies: 8
Views: 486

Re: Can I use React.js?

I wouldn't be so categorical, it depends on the game... For some games with a “simple” interface here, the game board is displayed with a canvas in which the interface is drawn. For this kind of game, if the board were displayed with a piece of React code, I think it would be just as good... For th...
by imralav
21 October 2024, 04:57
Forum: Developers
Topic: Can I use React.js?
Replies: 8
Views: 486

Re: Can I use React.js?

I remember digging into this topic too and I asked people who had tred to integrate Vue. They don't recommend it, for some reason (haven't clarified that part) it's troublesome and the juice is not worth the squeeze, it's problematic. Also, Hi, the following is just my personal opinion. I'm also new...
by imralav
21 October 2024, 04:52
Forum: Polski - pl
Topic: Gosu X, some general mistakes
Replies: 2
Views: 367

Re: Gosu X, some general mistakes

Good job. Next time when you change one title/word, make sure to change it in all other sentences. Just use search box to found all phrases with "bounty" word, so it is changed everywhere. I've done it for you (2 more phrases) Dobra robota. Nastepnym razem użyj wyszukiwarki, żeby zmienić ...
by imralav
16 October 2024, 13:39
Forum: Developers
Topic: May I ?
Replies: 2
Views: 231

Re: May I ?

If you wish to create an existing game on this platform, you're welcome to do so. Follow the information from the official docs: https://en.doc.boardgamearena.com/Studio . If you're asking whether you can create your own, new game here, I am not sure. It's probably not forbidden, but please clarify ...
by imralav
13 October 2024, 11:07
Forum: Developers
Topic: Several unfinished Alchemists projects
Replies: 9
Views: 848

Re: Several unfinished Alchemists projects

Considering the complexity of this game and you being new here, it might not be the best idea. BGA Framework has it's own learning curve to go through, even if you already know PHP and JS/HTML/CSS. I'll look into it, I'm a fast learner, and I really want this game to be available. So if no one else...
by imralav
08 October 2024, 18:50
Forum: Developers
Topic: Managing actions requiring input from other players
Replies: 5
Views: 165

Re: Managing actions requiring input from other players

You can have multiple ways to handle that : - use only single player states, you need to remember the real active player id, and change back and forth - use multiple player states for actions from others than active player. A multiple state where you will activate only one player, the one you wait ...
by imralav
08 October 2024, 09:27
Forum: Developers
Topic: Managing actions requiring input from other players
Replies: 5
Views: 165

Re: Managing actions requiring input from other players

You are correct about needing to work with states.inc.php.

I believe you will need to introduce additional states for the other players to make their move. So Player 1 initiates some longer process, invokes an action, the action then transitions to another state, where another Player 2 is activated.
by imralav
03 October 2024, 21:12
Forum: Developers
Topic: Invalid or missing substitution argument for log message: undefined: i is undefined
Replies: 4
Views: 121

Re: Invalid or missing substitution argument for log message: undefined: i is undefined

Thanks both for your responses! Turns out it was indeed a very basic mistake, I had set "descriptionMyTurn" instead of "descriptionmyturn" (all lowecase) for the failing state. After I changed it, it now seems to work :lol: Oh man, I didn't even know that BGA Framework is so pic...

Go to advanced search