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

Players should only be able to play a game once #242

Open
mmicciolo opened this issue Apr 25, 2022 · 2 comments
Open

Players should only be able to play a game once #242

mmicciolo opened this issue Apr 25, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request game player Issues related to the player of the game game server high priority Really needed improvement, to prioritize ready for testing

Comments

@mmicciolo
Copy link
Contributor

As a group we have decide that player should only be able to play through a game instance once.

In order to achieve this we have decided to remove the disconnect button.

We will replace this button with an exit button which will in terms just achieve the same functionality as the back button in the browser.

If the player tries to rejoin they will simply be left off where they exited which will be the end of the game or wherever they were in the game if they didnt complete it.

In the game manager we will add options to disconnect/boot individual players or reset them.

If they are disconnected / rebooted from the game manager we will maintain a flag IS_LATEST so the manager knows that data is from the latest play through for that player.

We will not implement anything to prevent behavioral problems, IE Billy wants to sabotage Mario's game by logging in as him as there is nothing to prevent that right now.

@mmicciolo mmicciolo added enhancement New feature or request high priority Really needed improvement, to prioritize game player Issues related to the player of the game game server labels Apr 25, 2022
@mmicciolo mmicciolo self-assigned this Apr 25, 2022
@mmicciolo mmicciolo added this to the Spring 22 (Platform) milestone Apr 25, 2022
@mmicciolo
Copy link
Contributor Author

mmicciolo commented Mar 13, 2023

DRAFT TEST

This issue is ready for testing on dev - https://dev.wearablelearning.org

Testing Summary
In the game player the "Disconnect" button has been renamed to "Exit." Since you can no longer disconnect this means that you will also only be able to play through 1 full time per player. Anytime you reconnect you will begin where you left off when you clicked "Exit."

Testing Steps

  1. Start a game instance using the game manager
  2. Join the game instance and click through a few transitions
  3. Exit the game by clicking the "Exit" button
  4. Rejoin the game using the same player and you will pick up at the same exact state that you left off at
  5. Complete the game. You should come to a "Game Over!" which indicates you have reached the end of the game. When you exit and rejoin you will pick up at the end of the game and there is nothing a player can do to restart back to the beginning.

Expected Results
Player is only allowed to play through the game once. A new instance must be created to start from the beginning for players. At the end of the game, "Game Over!" will be displayed in the 2nd half of the virtual device screen.

@franciscastro
Copy link
Contributor

Discussion 3/22

Need a way to explicitly have an end state that:

  1. Has metadata that indicates that current state is an end state
  2. User-editable information (i.e., for displaying messages to the player)
  3. Built-in message that displays message about resetting the user's player (e.g., please ask the game manager to reset your player if you want to play the game again)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request game player Issues related to the player of the game game server high priority Really needed improvement, to prioritize ready for testing
Projects
None yet
Development

No branches or pull requests

2 participants