UC-Mind-Lab/Chesster

Restructure the Display loop to stop stuttering

Opened this issue · 0 comments

The current display loop is a hack. A proper PyGame display loop consumes PyGame events every time the display is updated. This only kinda happens in the current system. The main issue is how "waiting" is handled to display the start and end of games for a long period of seconds. Right now it's just a while loop waiting for to time to pass without redrawing the display or consuming PyGame events. This is problematic, and should be fixed.