Hi, for my memory game app I need a function to wait for a small amount of time after someone has opened two pictures by button click. So the user can see his choice for a second or less.
My solution is to get the seconds since 1970, add the seconds to wait and count down to the actual seconds since 1970. That works. But only for whole seconds. With tests to use a timer, I failed.
Is there an idea to create a wait function by use of the timer?
Link to my project: