Skip to content

Possibility to add players during the game? #884

Description

@RaphaelPI

Hi,

I discovered boardgame.io 2 months ago and introduced it into my unfinished game (Slay The Spire like).
It's really nice, good job guys 😄

I use one player for each Monster that your hero is facing (total player = hero + number of monsters) and everything went perfectly before this problem:

  • I want my players (hero and monsters) to be able to call some allies, so add new players in the game.

I currently use the solution you provided in #794 to eliminate a player from my game and it works cause the G.playOrder become a subset of ctx.playOrder.
But I don't have any solutions if I want to add one :(

Do you know if there is a way to do it?
Or maybe I have to change the way I'm using boardgame.io and only have 2 players (player and IA) ? Would be great if i won't have to do it that way 🙏

Thank you for your time

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions