Python Forum

Full Version: Pygame running slow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. Im trying to run a simple snake code, which I get from youtube. In the video runs smoothly and fast, but when I run it freezes for moments and runs slowly. Im using a Ryzen 5, 16Gb. I am wondering if theres a configuration or something that I'm missing. Thanks in advance!
Please post your code
Post your code here please octordle
If your code is true to the tutorial, then check your for loops. Make sure that all the indentations are correct. One wrong TAB can make it loop a thousand times when once is what you want. Just one possibility, but if you followed a tutorial then the problem has to be simple.