We are going to code a whole game! No experience required: I will try to walk you through absolutely everything, and I will type in every single line of code to write a snake game.
All the details, code to copy and links are at https://www.artificialworlds.net/blog/2020/10/11/code-your-first-game-snake-in-javascript-on-raspberry-pi/
Enjoy! Leave a comment if you need any help.
The Smolpxl games are at https://smolpxl.artificialworlds.net/