When I was that age I made a bouncing ball in Flash (ActionScript, similar to JS).[0] This is still my "hello world" when trying out a new game dev environment because it covers: - drawing - movement - input - acceleration - gravity - friction - collision And all of these in essentially the simplest possible way. Most of all, it's a lot of fun to have a bouncing ball, and even more fun if you can use the keyboard or…
Uses p5js, so nicer than pure canvas.
Note there’s a big leap from making a simple physics toy to making a game.