Teams

Game development with Board Game Arena Studio
Post Reply
User avatar
cora89
Posts: 29
Joined: 14 June 2012, 20:29

Teams

Post by cora89 »

Hi (again),

I'm thinking about the zombie mode when there's a team play.
I have 3 teams of 2 or 2 teams of 3...
I work with the token's color, not with the player_id to simplify my code, and it works well but i need to reorder them when a player quits !
How can I change the nextplayertable in order to make each team have the same number of turns when a player is in zombie mode ?
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Teams

Post by sourisdudesert »

Hello,

A zombie player is exactly like a player, except than he does not play when he is active. But his color and his place around the table remains intact.

So, in theory, you can use your nextplayertable table just like if there is no zombie around the table, and use player_color right.

This is the theory.

However, in practice, I think for your specific game a zombie player in team mode kill the spirit of the original game. My suggestion is the following: choose to not support the zombie mode when there is a team play: throw an exception, and a message like "Zombie mode not supported in this situation" will be display => the game will end immediately.

Cheers,
User avatar
cora89
Posts: 29
Joined: 14 June 2012, 20:29

Re: Teams

Post by cora89 »

ok i'll make this. Thx.
I don't want to drop the team mode because IRL it's what makes the game funnier :D
sparr
Posts: 65
Joined: 08 April 2014, 02:12

Re: Teams

Post by sparr »

You want the teams, not the players, to get the same number of turns, right? What does the turn order look like when the game is 2vs3?

That is, say the game is A+B+C vs D+E+F. When all six are playing a round might go A D B E C F.

If C drops out, what does a round (or two) look like? A D B E A F B D A E B F?
Post Reply

Return to “Developers”