timer and scoring
Oct 23, 2023
By
Sian Miller
I have a course that is set up with a challenge, that has a number of levels. In each level there are up to 4 stages.
Each level is timed.
The javascript is set up to start a timer for each level and stop when user completes all stages.
Separate javascript awards a score for performance in each stage. If correct decision is made = 1o0 points, if an good alternative decision is made = less points, if wrong = 0 points.
It's not working - I can't see that it has ever worked and the original author has moved on to other things. I'd like to get it to work OR come up with a workable solution without Java.
Can anyone give me some pointers? please!
1 Reply
For the timer part of this, and if JavaScript isn't your strength, use an off-slide animated object that adds "1" to a counter variable each time it repeats the animation. That will get you to the total time. If needed, you can have the same animation update multiple variables to get totals based on: