Why isn't the score increasing. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why isn't the score increasing.

I'm trying to make a simple game in html with canvas. Everything seems to be going fine but the score isn't going up when the triangle reaches the left edge of the canvas. I don't know what to do. Please help. https://code.sololearn.com/WGNbW8E8V2L9/?ref=app

2nd Mar 2023, 12:45 PM
DarkPhoenix15
DarkPhoenix15 - avatar
3 Answers
2nd Mar 2023, 1:22 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
No problem. Happy coding! I look forward to seeing what your next game will be.
2nd Mar 2023, 1:59 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Ausgrindtube Thank you
2nd Mar 2023, 1:38 PM
DarkPhoenix15
DarkPhoenix15 - avatar