+ 2

JS_ how to find the high | average score

In this code I'm making, it's not exactly a game, but It would help to have ••high score... I thought about it, but I'm not sure where to start. Also, ••average speed too. I'm assuming we start a new variable, or use the score variable... not sure what to do with these variables though. Can u guys help https://code.sololearn.com/WucfuigE2Z58/?ref=app

21st Sep 2019, 5:01 AM
Ginfio
Ginfio - avatar
3 ответов
+ 5
Here is how I made it for average. i put some comments where I changed something. https://code.sololearn.com/WQCaUBM5gOeV/?ref=app
21st Sep 2019, 5:15 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 4
Hey, so I made the code for highest. https://code.sololearn.com/WnRKhohiibdX/?ref=app js line 29 and 60,61
21st Sep 2019, 7:28 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
🐯 Alex Tusinean 🐤 Thanks. easier than what i thought.
21st Sep 2019, 5:19 AM
Ginfio
Ginfio - avatar