Hi I'm writing a code for memory game (a.k.a. card matching game) right now and I'm using a timer in pygame to tell how long the player took to make every card uncovered (matched every pair in card deck completely).
self.score = pygame.time.get_ticks() // 1000
this is what I wrote to check the time and I want to make this stop when all the cards are uncovered is there any way that I can make is stop? I've searched a bit but nothing looked suitable for what I need now.
https://www.youtube.com/watch?v=9-6iDRyPoVg&feature=youtu.be this is how it's suppose to look like.
Thank you!