Python Forum
[Tkinter] How to create a delay for AI without freezing the GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] How to create a delay for AI without freezing the GUI
#1
I want to create an AI move into my game, after the player does one. Is there any function I could use in order to let AI wait for few seconds before it makes a move? I already tried a canvas.after(), but it didn´t work properly (it also freezed my move).
Reply


Messages In This Thread
How to create a delay for AI without freezing the GUI - by kom2 - May-03-2019, 03:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] GUI keeps freezing Fre3k 2 3,630 May-23-2020, 05:41 PM
Last Post: Fre3k
  [PyQt] How to open a program with python without freezing LavaCreeperKing 9 8,291 Aug-17-2019, 08:48 PM
Last Post: LavaCreeperKing
  Gi module window freezing problem loss 0 2,248 May-05-2018, 04:42 PM
Last Post: loss

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020