N-Shar-ma / Emoji-Card-Game

Emoji guessing card matching game, made using vanilla JavaScript, lots of css animations and the native HTML drag and drop API
https://emoji-card-game.netlify.app
19 stars 26 forks source link

Button/link to go back to the home screen #43

Closed julicheng closed 1 year ago

julicheng commented 1 year ago

I would like to work on adding a button or link to go back to the home screen once a game has started. With the current implementation, the only way to start another game is to reload the page.

Let me know what your thoughts are 🙂

N-Shar-ma commented 1 year ago

That sounds like a great idea! It'll be nice if you could discuss and finalize the position and styling of that button here before making the PR though :)

julicheng commented 1 year ago

I was thinking bottom left or top right with similar styling to what you have for the hints and the score element but in a different colour like grey so it's not so eye-catching 🤔

N-Shar-ma commented 1 year ago

Top right grey sounds good! Lets go ahead with that, and if need be we can tweak once the PR is made.