0
Plz check my unfinished code on errors
5 Respuestas
+ 2
https://code.sololearn.com/W3M53xz9i0AH/?ref=app
+ 2
You could set the fillStyle inside the game function.
And the other error was as you had a direction variable and a function with the same name.
+ 2
Please don't write sentence or irrelevant words in Relevant Tags section. And follow this tips tor posting a question 👍
https://www.sololearn.com/Discuss/333866/?ref=app
+ 2
Debugging is part of coding, you should not write a code and let other people debug it for you.
First try everything you can to make it perfect by yourself.
If after that problems remain that you just can't solve, then ask.
0
I can't define ctx, thus I ask you help)))