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

Play the game UI Flow #6

Open
ripper234 opened this issue Jan 22, 2016 · 0 comments
Open

Play the game UI Flow #6

ripper234 opened this issue Jan 22, 2016 · 0 comments

Comments

@ripper234
Copy link

As a user, I would like be able to play the game.

I start by going to a unique URL e.g. midburn.org/games

Welcome Screen

I am presented with a short welcome screen: "Welcome to burner games, this game will test your knowledge of Midburn and the Ten Principles" (should have link to principles to get them started).

Questions

The user is presented with a form that contains a few (N) random questions from the database.
No duplicate questions are allowed.
The order of the question is randomized.
The order of answers in each question in randomized.

Score Page

The user sees how well he did. We will start with a simple score screen "Your score is X/Y".
Score is calculated as follows:

  • Take all the questions' levels presented to the user.
  • Sum all the levels. This is total_possible_score.
  • Sum all the right answers. This is raw_score.

The score presented to the user is raw_score/total_possible_score*100 (round up).

Storing the result of the game

The data model will persist a new GamePlayed record that will contain:

  • userID
  • timestamp
  • total_possible_score
  • raw_score
  • IDs of Questions presented to the user, in the order they were presented to him (important for tracking later). Per Question:
    -- IDs for Answers per such question in the order they were presented (important for tracking later)
    -- What answer/s did the user pick
    -- Whether his answer was correct or not
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