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

Add a JavaScript function where the user has to have the "correct" answer before going to the next mission. #3

Open
izayevisuals opened this issue Jul 25, 2022 · 1 comment

Comments

@izayevisuals
Copy link
Owner

This JS function has to be applicable to every mission-page.

@bpires
Copy link

bpires commented Jul 27, 2022

Just saw this after I talked to you! 😅

Yes, it's essential to prevent the user from going to the next mission without answering the previous one.

Another approach is to change the button to "Submit & go to the next mission". Hence you'll have two options, submit and check your answer on the spot, or submit and check your scores at the end (presuming you implement a table of scores).

Those are two different ways to design the game:

  • as a multi-level game (you only go further if you got the previous one right)
  • as a set of problems (you answer each problem and check your scores at the end)

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

2 participants