Press WASD to move. UPDATE 1: 2nd of June, 2026: removed using arrow keys and made it so that you can't move in the oppisite direction (like when you're up and you can't move down) UPDATE 2: 17th of June, 2026: Fixed bug where your game would lag (or possibly freeze) when you went in the oppisite direction.
Thanks to JustFinishedCoding! I used his code and for the background, snake, and apple, I used TurtesDev's sprites.