I had a subdomain set up, sudoffle.ceptimus.co.uk but it wasn't working right. I did a quick hack to fix it for now. I'll investigate what's wrong with the subdomain thing and maybe fix tomorrow.
I've made it send a cookie (with all the latest Samesite safeguards). It expires after a month of non-visits. And the userID from the cookie is recorded in a MariaDB table with date of last visit (also gets pruned after a month of no visits).
So it can generate statistics like best time, streaks, lowest number of hints and such, as well as remembering the user's theme (chosen color scheme). Any ideas on what stats, if any, it should put in the 'share my results' thing?
- Your Sudoffle link in the text to share is raw html. This won't work for the average user. What do other games do? Rich text?
I think it's just plain text without the HTML tags. I'll have to look in to the Facebook and other sharing things - never tried those.
The subdomain is now mysteriously working: Sudoffle I don't understand why I have to put http without the s, even though the site has an SSL certificate once you arrive there.
I found a way of having a floating number and cursor keypad on my Android tablet, but most people wouldn't know how to do it - I didn't until just now - so priority is to build that functionality direct into the game so I can play on my phone and tablet.
So, you can fail at most of the word/number guessing games.... How would you fail for Sudole?
Maybe you could get a certain number of 'lives' like in an old videogame? You could start with, say, five lives: . Each wrong guess would lose a life and change the heart to a black box. So after five wrong guesses, the game would end, and in your results you could somehow get little rows of boxes instead of one box followed by a number? So the results would more closely resemble Wordle results?
I just fixed a couple of bugs, but noticed another one: if you complete, say, a row and a block at the same time, but not correctly, then it double-counts the clue yellows - once for the row and again for the block. I'll fix that later, but I'm afk for a few hours now.
Thanks. Now easily playable on phones and tablets.
Next things:
Fix any bugs you guys report.
Implement any crazy-good suggestions for improvements (as long as that's not too hard for me to do!)
Make the scoring of the (yellow) clues better - only increase the count when a yellow number you've not seen before in that square is revealed.
Have a few (yellow) clues automatically present when starting a new puzzle (these won't be counted in your 'clues' score).
An optional 'hints' marking which will show the currently possible values for empty squares, and indicate which, if any, of those have already been revealed as wrong (yellow).
A way of playing puzzles other than the Sudole of the day - maybe with different available levels of difficulty.
More comprehensive results when you complete a puzzle - but probably just for the player to see and not copied to the 'share' clipboard.
Choice of themes (color schemes).
As always, I reserve the right to get bored with it, and move on to something else!
The green in the latest couple of releases (possibly from the start, but I didn't notice) seems to be a bit too green. Compared to other -le sites it's a brighter more saturated green.
Okay, I don't remember altering it, but I've toned all the colours back a little now - see if you notice any difference. You could view page source, select all, copy-and-paste to a local .html file and edit the colour values (line numbers 12, 34, and 44-47 right now). Then, open the file in your browser to see the effect. Let me know your preferred colour values.
One of the enhancements I want to make eventually is to have each user able to select her own colour scheme, but that's not at the top of the priority list right now.
Okay, I don't remember altering it, but I've toned all the colours back a little now - see if you notice any difference. You could view page source, select all, copy-and-paste to a local .html file and edit the colour values (line numbers 12, 34, and 44-47 right now). Then, open the file in your browser to see the effect. Let me know your preferred colour values.
One of the enhancements I want to make eventually is to have each user able to select her own colour scheme, but that's not at the top of the priority list right now.
Background: previous #e0e0e0 was better (where you now have #c0c0c0).
Green: currently you have #20c020 which is better than #00e000. But I think something around the Numble scheme looks best - #28a745.
(Wordle has #6aaa64; Nerdle has #398874 but I think that was a pre-existing theme; Numble has #28a745; Worldle has #16a34a; Crosswordle has full-on #00ff00;
Quordle has #00cc88.)
And Numble's yellow is #ffc107.
Also - all the number ones are white letters, as is Wordle; Crosswordle and Quordle have black letters. I hadn't even noticed that difference.