JS_ how to find the high | average score | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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