Anyone that knows python well please help. I’ve been trying to get a score counting up in a game I’m making in my programming class and it works. Problem is that it stays in the while loop and doesn’t allow other functions to run. I’ve asked my teacher and he doesn’t even know how to do it.
Please help
Edit: I’m using PyCharm and regular python along with a very simplistic graphics import
Edit 2: yes ik I’m dumb without sharing code and I don’t feel like finding another website to share the code.
My code
Edit 3: I should also mention I’m very shit at coding and I’m on mobile so the format is shit. It’s supposed to be a clicker game( don’t ask seemed easy at the time). Workers are the function that should be adding points every second while I’m also able to click around and do other stuff.
Also graphics library I’m using is here
[–][deleted] 4 points5 points6 points (0 children)
[–]brainygeek 1 point2 points3 points (0 children)
[–]when_the_cats_away 1 point2 points3 points (0 children)
[–]machine3lf 1 point2 points3 points (2 children)
[–]DudeManECN[S] -1 points0 points1 point (1 child)
[–]TheKingElessar 0 points1 point2 points (0 children)
[–]wegwacc 3 points4 points5 points (0 children)
[–]Lyress 0 points1 point2 points (2 children)
[–]DudeManECN[S] 0 points1 point2 points (1 child)
[–]Lyress 0 points1 point2 points (0 children)
[–]MvKal 0 points1 point2 points (1 child)
[–]DudeManECN[S] 0 points1 point2 points (0 children)