Snake game buttons doesn't work

Question:
Please help with snake game. My snake and fruit appears but the snake doesn’t respond to keyboard commands.
Repl link:
https://replit.com/@creaternet101/Snake-game#main.py

code snippet

Are you clicking in the output window after you hit run and before you try using the arrow keys to move?
It’s moving for me.

Snake game - Replit - Google Chrome 2023-10-25 05-16-55

Snake game - Replit - Google Chrome 2023-10-25 05-28-19

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.