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

browser logic pseudocode #10

Open
tony-luisi opened this issue Apr 14, 2016 · 0 comments
Open

browser logic pseudocode #10

tony-luisi opened this issue Apr 14, 2016 · 0 comments

Comments

@tony-luisi
Copy link
Collaborator

tony-luisi commented Apr 14, 2016

//load the landing page
//render username box and start button
//render leaderboard
//load (but hide) the timer, input container and game container
//timer
//create the timer with 2 minutes
//add it to the div
//input container
//get the images from the server
//add the first image to the div
//add the dropdown box with 4 answers
//add the submit button
//user press start
//show the first image and div with the timer and the start button
//user press start
//start the timer and countdown
//while the coountdown is not zero
//after a number of seconds reveal a panel
//if answer is guessed
//add one to the score
//remove the current image and replace it with the number
//reset the panel and reload the suggested answers
//when the countdown is zero
//hide the main panel
//show the finish and score
//post the score to the server

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