Saving info from game to present later

Hi!

I’m working on a memory game for practising JS, CSS & HTML,
I got stuck now in the last part of the project with 2 problems:

  • I’m trying to figure out a way to get the first setInterval in my timer for the game to work immidiately when starting the game and not a second later. found few ways online for calling it before the interval loop but it didn’t work…
  • I’m trying to show statistics of how long and how many moves it took to finish the game and tried few ways and unfortunately it is not working out.

link for the game:

thank you in advance!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.