Skip to content

Instantly share code, notes, and snippets.

@johnhamelink
Created December 5, 2015 17:20
Show Gist options
  • Select an option

  • Save johnhamelink/141ed69be3ab5f0961a7 to your computer and use it in GitHub Desktop.

Select an option

Save johnhamelink/141ed69be3ab5f0961a7 to your computer and use it in GitHub Desktop.
New player state - Persisted
Persisted state has custom push notifications:
- Player state change -> :persisted -> :accepted
=> "You've been added to the next game of #{event.name}"
- Player state change -> :persisted -> :declined
=> No Push notification sent
- Player state change -> :persisted -> :unsure
=> "You've been invited to the next game of #{event.name}"
- events/mine.json should filter :persisted players
- :persisted players are considered in an unplayable state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment