You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would recommend to split the code into an engine that has no interaction with the ui and another layer on top of it which is responsible for drawing the game on an ui