card game with only some active players participating in each round

Game development with Board Game Arena Studio
Post Reply
User avatar
Locandiere Tay
Posts: 2
Joined: 26 March 2020, 23:52

card game with only some active players participating in each round

Post by Locandiere Tay »

Hello, I am trying to develop a public domain card game very similar to the briscola game: such card game include a phase in which each player (total 5 players) after looking at their hand of 5 cards must decide if they want to participate and play in this round or not. So each should have a boolean decision to be or not be playing in the current round. The players that say yes will have opportunity to discard and draw a number of cards from the pile and then play the game round. At this point the players who said NO will only look at the screen other playing but they will not be active until next round.

In each round there will be a prize (for example 1 point) for the winner among gaming players. The gaming player that does not score any point at all in the game will suffer a penalty equal to the prize.

Such game is point based and time based, is it possible to put a timer and when the time is up there is only one final round to play and then the game is over and the player with most points wins?

Can you please indicate if other games already on BGG have similar behaviour so I can look at their code or can you recommend an easy / efficient way to do this with PHP and/or JS?

Thanks a lot to those who will have the patience to reply to me. :oops:
User avatar
apollo1001
Posts: 191
Joined: 21 July 2015, 10:41

Re: card game with only some active players participating in each round

Post by apollo1001 »

Most of the game sounds easy enough to code - just have a transition game state that loops around to an available player (based on your boolean field) before transitioning to the active player state.
Locandiere Tay wrote: 04 September 2020, 16:01 Such game is point based and time based, is it possible to put a timer and when the time is up there is only one final round to play and then the game is over and the player with most points wins?

Can you please indicate if other games already on BGG have similar behaviour so I can look at their code or can you recommend an easy / efficient way to do this with PHP and/or JS?
This is more problematic as there will be different time settings for all games. E.g. you can't have a 15 minute timer running during a turn based game that allows a day per move! As such, you may need to modify the time restriction to a suitable alternative, like a fixed number of rounds.
User avatar
Tisaac
Posts: 2743
Joined: 26 August 2014, 21:28

Re: card game with only some active players participating in each round

Post by Tisaac »

Yeah, number of rounds sound bettter and is how most similar games are implemented here.
User avatar
Locandiere Tay
Posts: 2
Joined: 26 March 2020, 23:52

Re: card game with only some active players participating in each round

Post by Locandiere Tay »

Thanks for the reply! That is a good idea, assuming an average of 5 minutes per round, if the user can set a number of for example 10 rounds, the game will last approx. 50 minutes. I think its' good enough.

Can you indicate some games already on BGG that use the same implementation so I can check them out?

Thanks a lot in advance for your help!
Post Reply

Return to “Developers”