Snake with joystick (root error help)

May 22, 2024, 03:18

sr1zz

Hello, I'm an engineering student and I'm currently trying to do a project which involves making an arcade machine with Raspberry. So, I tried to code a game called Snake which could be played using a joystick connected to a GPIO port. However, I have an error that systematically occurs which is the root error. I tried several solutions which were given on the Internet but none worked so I would like to know the solutions which could be possible. So if you have either an example that works or a solution to my problem with my files, I would be delighted. Thanking you in advance for your attention to my message.

sr1zz

I forgot to mention that the game was displayed on an LED matrix