Used Tkinter.after to add a place for game logic.