Nice job, especially for your first coding project. Enjoyed playing it!
Hint: It feels like the shark is getting faster from time to time but you can “brake” it by swimming against the walls. I don’t know if was intended.