# Changing sides during play

**URL:** <https://forum.vassalengine.org/t/changing-sides-during-play/3143>\
**Category:** Module Design\
**Created:** [July 31, 2010, 9:59am UTC](https://forum.vassalengine.org/t/changing-sides-during-play/3143 "2010-07-31T09:59:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kingmaker](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/9f8e36/32.png) [@Kingmaker](https://forum.vassalengine.org/u/Kingmaker)\
**Post date:** [July 31, 2010, 9:59am UTC](https://forum.vassalengine.org/t/changing-sides-during-play/3143/1 "2010-07-31T09:59:44Z")

</div>

Hi!  
I want to make a VASSAL version of a boardgame. There are different playerfactions in the game. It is normal that every player starts on his own side, with his own cards, that only he can use and flip. This is easy for me to build in VASSAL.  
But if one player loses he can switch to a new faction (the Looser faction) and plays now against all other players - again with his own cardhand. Every player that loses switchs to this Looser faction, so that all loosers have one cardhand together, that everyone can use. By loosing the player adds his old card hand to the looser sides cardhand.  
Is it possible to build this mechanism of changing sides in VASSAL?  
Thanks!  
Daniel.

---

<div class="post-metadata">

**Author:** ![mkiefte](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/mkiefte/32/25_2.png) [@mkiefte](https://forum.vassalengine.org/u/mkiefte)\
**Post date:** [July 31, 2010, 10:13am UTC](https://forum.vassalengine.org/t/changing-sides-during-play/3143/2 "2010-07-31T10:13:55Z")

</div>

You may be able to get away with a lot with Restrict Command traits, but the  
biggest problem you’re going to face is the Loser Faction hand. I do not  
think there is a way to dynamically change who can see that hand. You could  
certainly program a custom class, but that would require some skill with  
Java.

- M.

On 31 July 2010 06:59, Kingmaker [dtallarek@web.de](mailto:dtallarek@web.de) wrote:

> Hi!  
> I want to make a VASSAL version of a boardgame. There are different  
> playerfactions in the game. It is normal that every player starts on his  
> own side, with his own cards, that only he can use and flip. This is  
> easy for me to build in VASSAL. But if one player loses he can switch to a  
> new faction (the Looser  
> faction) and plays now against all other players - again with his own  
> cardhand. Every player that loses switchs to this Looser faction, so  
> that all loosers have one cardhand together, that everyone can use. By  
> loosing the player adds his old card hand to the looser sides cardhand.  
> Is it possible to build this mechanism of changing sides in VASSAL?  
> Thanks!  
> Daniel.  
> \

You may be able to get away with a lot with Restrict Command traits, but the biggest problem you’re going to face is the Loser Faction hand.� I do not think there is a way to dynamically change who can see that hand.� You could certainly program a custom class, but that would require some skill with Java.  
  
  
- M.

On 31 July 2010 06:59, Kingmaker \<[dtallarek@web.de](mailto:dtallarek@web.de)\> wrote:  

> Hi!  
>   
> I want to make a VASSAL version of a boardgame. There are different  
>   
> playerfactions in the game. It is normal that every player starts on his  
>   
> own side, with his own cards, that only he can use and flip. This is  
>   
> easy for me to build in VASSAL. But if one player loses he can switch to a new faction (the Looser  
>   
> faction) and plays now against all other players - again with his own  
>   
> cardhand. Every player that loses switchs to this Looser faction, so  
>   
> that all loosers have one cardhand together, that everyone can use. By  
>   
> loosing the player adds his old card hand to the looser sides cardhand.  
>   
> Is it possible to build this mechanism of changing sides in VASSAL?  
>   
> Thanks!  
>   
> Daniel.  
> \<br\>
