Open joshoxe opened 2 years ago
Add a pub/sub pattern so that the game service can emit events when a player wins or loses, rather than handling this in component code
https://www.digitalocean.com/community/tutorials/vuejs-global-event-bus
Add a pub/sub pattern so that the game service can emit events when a player wins or loses, rather than handling this in component code