Page 1 of 1

Teams

Posted: 10 March 2013, 15:55
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 ?

Re: Teams

Posted: 10 March 2013, 22:02
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,

Re: Teams

Posted: 11 March 2013, 07:19
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

Re: Teams

Posted: 15 December 2014, 22:44
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?