hey guys, i made a fully playable snake game in mspaint for ludum dare 53:
the game is written in python (of course) and it heavily relies on pyautogui library. for the core of the game, it basically takes control over your mouse and uses it do draw a snake dot by dot, while also remembering it's current position for the next time the snake moves. after drawing the snake segment, the game picks a random position for a pellet and it keeps drawing pellet in that position. when the snake dot has the same position as the pellet dot, the dot is considered to be eaten, the snake grows by one dot and the loop continues. the game also deletes the farthest part of the snake after the snake moves, giving the illusion of movement.
if you'd like to try it out, you can find the script here. please read carefully the description on itch page. if you have any questions, feel free to ask