Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoundManager #1

Open
RoboMWM opened this issue Sep 22, 2017 · 0 comments
Open

RoundManager #1

RoboMWM opened this issue Sep 22, 2017 · 0 comments

Comments

@RoboMWM
Copy link
Owner

RoboMWM commented Sep 22, 2017

onGameEnd()

  • assign points returned from calling microgame#end
  • Teleport players to main platform
  • Send title message to winners/failures
  • Play corresponding music to winners/failures
  • call prepareNextMicrogame()

prepareNextMicrogame()

  • Determines "progression" of round (i.e. what's next)
    • Speed up
    • Boss level
    • Ends round
  • Plays corresponding music
  • Schedules tasks to call startNextMicrogame (duration dependent on music used)

onGameStart()

  • Determine next microgame (compare minimum players required for next microgame)
    • We do this now vs. in between rounds in case a player leaves before next microgame starts
  • Schedules task to call onGameEnd
  • calls microgame#start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant