guillemalomar / PythonChess

A work in progress of a Chess game for PvP
GNU General Public License v3.0
1 stars 0 forks source link

Game goes slower after a few movements #31

Open guillemalomar opened 5 years ago

guillemalomar commented 5 years ago

Since the GUI was added, the game seems to take some time to process new movements. This needs to be solved, as the game experience is highly effected.

guillemalomar commented 5 years ago

This doesn't seem to be happening anymore, maybe other changes fixed it. It can be closed, and reopened if it happens again.

guillemalomar commented 5 years ago

This seems to happen again...

guillemalomar commented 5 years ago

This may happen because as we have 64 buttons, if the buttons are not deleted properly tkinter might not be prepared to handle so many button instances. It also might happen because I'm not doing the checks in an efficient way... (breaking loops when finding the position, etc.). I'll check both possibilities.