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

player client #1

Open
emor opened this issue Mar 2, 2016 · 3 comments
Open

player client #1

emor opened this issue Mar 2, 2016 · 3 comments

Comments

@emor
Copy link

emor commented Mar 2, 2016

perhaps create a player's client that view's the current round on their own device and is able to pause the current round with a touch of the screen. furthermore, when the host approves the player's response, the score points can increment for that particular player in order to a achieve an accurate score for the game.

@guss77
Copy link
Owner

guss77 commented Mar 2, 2016

Ok, so I'm thinking something like this:

  • the "please wait" screen is modified with a barcode for player registration. When scanned into a browser, the "player" mode is launched and send a registration request to the game server mode.
  • the main screen is modified with a new section that is always shown, listing all registered players as colored circles with a point count.
  • a new "player" mode is added. The player has a single colored button with the color assigned by the game server. The button is disabled (reduced luminance? reduced saturation?) on all modes except "playing" (i.e. it is also disabled during "pausing")
  • when the player pushes the button, the player mode sends "buzz" to the server. The server will immediately enter pause, change the background color of the player indication to the buzzing player's color, notify the manager and players, and reject any further player events.
  • when the manager is notified of a buzz, the manager screen will change to show only an "OK" and "Fail" buttons.
  • when the manager presses "fail", the server will decrease 1 point from the buzzing player, clear the players indicator's background color, resuming playing, notify all players to open the buzzers and return the manager's screen to "playing" mode
  • when the manager presses "ok", the server will increase 1 point for the buzzing player, clear the players indicator's background color, invoke "skip to the end", and change the manager's screen to "end of play" (showing the reset button)

Anything missing, needs changing?

@guss77 guss77 closed this as completed Mar 2, 2016
@guss77 guss77 reopened this Mar 2, 2016
@guss77
Copy link
Owner

guss77 commented Mar 2, 2016

Sorry for the "close" - annoying github mobile UI and unresponsive chrome mobile. I've updated my first comment with the full spec - please review and comment.

@guss77
Copy link
Owner

guss77 commented Mar 2, 2016

We probably want a player limit - if only to allow us to generate distinct colors for each player. Anyone has a good color list?

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

No branches or pull requests

2 participants