Hi!
I was trying to make a simple password guessing minigame.
The link to the source code: https://pastebin.com/raw/rqe7byG8
Suggestions and pieces of advice are very appreciated.
I have some game development experience, but I'm new to Squiffy, and I'm not a programmer.
Not up on Squiffy, but I do know code... (Mostly Basic, and learning Quest...)
A "normal" password system would reply on a wrong entry "Wrong, try again"...
Without a clue somewhere, no one could guess it...
But, you do have a few choices:
Thanks, I didn't know it. The post is unlisted, but for some reason, Pastebin requires login...
This one should work
https://pastebin.com/raw/rqe7byG8
OK, that one works...
If I read your code correctly...
You have 3 thumbwheels with 7 letters each?
Cool idea... I didn't think of that.
Betrayal at Krondor had lockboxes that had the thumbwheel locks on them and a key hint for the code.
Some were as short as 3 letters, some as long as 8, maybe...
maybe 7 letters on the wheels, but different wheels had different letter combo...
That aside...
I think your code checks each letter and tells you right/wrong just like master mind...
Right???
Not knowing Squiffy (at all) but it looks like your code looks good as it is.
For Quest, I could have done it a little differently...
The display would look like this:
^ ^ ^
A A A
v v v
The "^" would be a command link to increase the letter (Looks like you used rotate)
The "v" would be a command link to decrease the letter (Looks like you used rotate)
And, then the display is correct, the lock would open...
(No Earthly idea if Squiffy can come anywhere near that!!!)
Here is how I did it in Quest.
http://textadventures.co.uk/games/view/_yzqjd-200uxjoitdnolwg/thumbwheel-lock
But I think you would need to download Quest to run it, Squiffy is different from Quest...
(AND, more powerful, has more tools, and toys, but don't let that scare you off...)
Just a simple "turn the wheel" demo, with out a check for the right combo.
I think your code checks each letter and tells you right/wrong just like master mind...
Right???
It's based on "bulls and cows". If I understand it correctly, the Mastermind uses the same idea.
I'm not sure if I know how to implement your thumbwheel lock in Squiffy without writing the whole thing in JS.