jonesnxt / kilordle

24 stars 20 forks source link

End Screen Upgrade #21

Closed toBeOfUse closed 1 year ago

toBeOfUse commented 2 years ago

The pull request sequel that no-one asked for... We've got:

  1. Support for the navigator.share API through the share button, which will bring up the "share" prompt built into the current OS/browser. I've disabled this on Windows because although it's supported the built-in prompt is very bad: image
  2. The image filename now has the game's date in it.
  3. The site URL is moved down somewhat; before, when people beat the game in very few guesses, their guess count x-axis label could collide with the URL (example)
  4. I added the "Oxygen" font from the Google font cloud to the canvas and made a subtle radial gradient for the squares' color. I'm not married to that particular font but I do think it looks better than the default browser sans-serif.

Result: image

The only thing that's still bugging me is I feel like some kind of creative background or pattern could be added behind the grid to fill in the blank space... something with a lot of squares rotated at weird angles, maybe, I am not a graphic design pro

Thanks for letting me participate in the Wordle craze in some small way, I've never experienced anything like searching on Twitter and seeing people post a graphic that I developed, even a simple one. You do not have to accept this pull request, although I hope you do, I just had a couple of things at the back of my mind all this time that I wanted to improve about my previous work.

jonesnxt commented 1 year ago

Sorry, I've been afk from this project, but thank you for putting this together. I'm gonna strip out the custom font as I prefer system fonts for performance reasons, but otherwise this looks great.