阅读背景:

Python Tkinter - 如何使某些代码使用更少的内存

来源:互联网 

I am programming an Othello game in a GUI. I have begun working on the animations that flip certain tiles, which is here. My computer(s) will start choking when the when the amount of tiles on the board becomes larger. I do not know what to do to simplify this code or use less memory. (I can use an automove key I have enabled to finish the game at light speed, without the animations. That works fine.) Here is the definition I am using to flip the tiles.I am programming an Othello game in a GUI. I ha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: