Back to General discussions forum
Rodion: thanks for posting "Revoltle"! The file wordle.txt, however, is not accessible - would you mind making it so?
...and thanks for the quick fix!
Yep, luckily you were very quick to check it and inform me :)
Let's have this topic for possible discussions around the problem also! BTW I wonder why you mentioned FORTH (except that it has 5 letter due to technical/historical reason). I'm quite fond of the language but haven't made up my mind yet to make challenges with it on codeabbey (supposing people may not like it that much).
A suggestion: could the first line of the input contain the number of lines/guesses to follow?
Otherwise it is not easy to work out how many lines to read from stdin (unless you want to check for \n
or similar).
When you read the input via a file than the EOF provides a natural end, but that doesn't apply to general stdin input.
If Vladimir won't object, I would try to add the number, yes.
On the other hand probably idea is that when you find you read enough lines to uniquely identify the word, you may stop?
BTW, Vladimir - I'm trying to add small auxiliary feature - please reload the problem's page and tell if you see the yellow button above (and if it works for you).
Mathias: great idea!
Rodion: I've submitted the modified checker code, including a comment at the point where changes start. Can you please add two lines which say "4" after each "input data:" line, and change the following sentence:
Your puzzle input will be several lines: a log of guesses and responses.
to this:
Your puzzle input will be a number N, followed by N lines: a log of guesses and responses.
Yes, I see the orange button. I hope the other solvers don't. :D
Vladimir
Oh, and also: no, there is no requirement to use Forth. But I couldn't resist the paraphrase:
https://knowyourmeme.com/photos/747556-may-the-force-be-with-you-may-the-4th-be-with-you
Thank you!
Supporting stdin input generally allows running the code in the sandbox on the server, though in this case a) Rodion's suggestion of course works and b) the loading of the wordle file makes the sandbox option difficult (unless that file exists there and we can access it).
Vladimir,
Thanks for another nice problem. I had heard people talking about wordl but had never got around to looking at it. I appreciated your very clear explanation of the scoring system.
Hopefully changes are visible (and consistent) now - please have a look!
Got the pun about forth
and force
. I really feel myself a slowpoke :)))
makes the sandbox option difficult (unless that file exists there and we can access it)
yep, regretfully it is something difficult either to implement or to manage, especially since sandbox can't be run on the "shared" hosting which hosts the site itself... in theory it is possible to collect such data files for problems in some github folder... and automatically upload / map it somehow in the "container" of the sandbox... perhaps need to try thinking about this deeper!
I had heard people talking about wordl
That's curious :) as I shared to Vladimir in email, I spent quite a time in the past solving puzzles exactly at NYT web-site, as far as I remember, while participating in some very dull project with long daily calls.
Yes, I see the orange button. I hope the other solvers don't.
At least I don't see. What button? what it is about at all?
Thanks for confirmation, I then iterate over problems created by you, Clive and other colleagues slowly and set the "authorship flag" which makes this button to appear to the author (what button?) - main idea is to make it easier to reuse the code.
If anyone fancies another problem linked to Wordle, there's one at the bottom of https://challenges.aquaq.co.uk/ (login required)
Well, this login with github could be inconvenient... But there are no specific secrets hidden (probably it is to protect input from abuse, not to hide statement), so I guess it is ok if I leave printscreen of the mentioned problem here: https://i.imgur.com/Xm6kSpq.png
Curious collection, though I'm a bit lost about who created it and with what purpose - perhaps they use it for testing candidates?
The problem seem to resemble "bulls and cows", right, but with massive input?
The point of that puzzle is to determine the uniqueness of the solution. As soon as that happens, a new game begins - but all the logs are glued together.