Gauging logic puzzle tutorialization.

Hey all,

I've been iterating on a logic puzzle in my game, and I'm trying to hit the right level of distraction from the main game. Ideally, I want my mini-games to be easy and just be little distractions from the main game. They should not stress people out and they definitely should not be road blocks to the rest of the game.

With all that being said, I'm working on the initial puzzle the player receives. Since it's the first one, it's meant to be very gentle and get the player to understand the idea; it's a freebie. So I'm trying to gauge if I'm hitting the mark.

Note: the game itself deals with heavy themes and lends itself to tactical combat and sci-fi high-mindedness. Ergo, the game isn't afraid of complexity. This is about finding the right start but still giving a taste of a brain tease.

Spoiler: Here's the puzzle and its tutorial
tutorialpuzzle.jpg

tutorialinstructions.jpg


Spoiler: The solution
Spoiler: Don't accidentally click this before you try!
378

Feel free to comment if there's other things that need clarification, or if there's anything else you want to ask about this.

PS: @Mac15001900 suggested I turn this conversation into a post, so here it is!
I thought it was pretty easy.

But with stuff like this, I think you're generally going to get two kinds of people.

People who have done logic puzzles before and will find this example easy, and people who have not done logic puzzles, are not interested in them, and will switch off when they look at it.

The odds of you getting someone who is interested in this but hasn't done this kind of puzzle before are, I think, very slim.

So I guess you hit your mark? I might've rambled a bit. 😛
Oh! This is Mastermind, isn't it? At least, that seems to be the sort of logic behind it
I think to help smooth brains like me figure out this kind of puzzle, you should mention straight up that you're looking for only one right code.

Because my first thought when I saw this is that you were asking us to solve all of the rows piece by piece (because RPG Maker jank, walking onto the rows to solve them or something), but after looking at it for a bit based on the answer it made more sense.

Edit: Upon further notice, the entire middle section with the ~~ bit is an unnecessary extra step. It asks for the correct digits that are in the wrong position, which - while not a bad thought - just makes the puzzle look more complicated than it actually is.

If you want this to be an accessible entry level puzzle, I would just show what digits are correct and which are not regardless of position and force the player to figure out which combinations are correct that way. As it is, this still feels like a "level 2" version of this puzzle system.

TLDR;

I'm basically suggesting what @Aoi Ninami said below me.
It would be clearer if the notation were "305 ✓xx" etc.

The logic to this puzzle is pretty simple -- in fact I "spotted" the correct answer before I had a rigorous proof. But here is an after-the-fact proof:

Spoiler: Solution
If 3 is wrong, then one of 0, 5 is right and one of 1, 2 is right.

But 0 can't be right in the second position (because of line 3), 1 can't be right for the same reason, and 2 and 5 can't both be right.

So the only way to satisfy the first two lines is for 3 to be right -- which makes 0, 1, 2, 5 all wrong, so 7 must also be right. Then the final digit must be 8 because of the last line.
This was an easy one, for sure. But I do think that what @Aoi Ninami said would be clearer for players.
People who have done logic puzzles before and will find this example easy, and people who have not done logic puzzles, are not interested in them, and will switch off when they look at it.

The odds of you getting someone who is interested in this but hasn't done this kind of puzzle before are, I think, very slim.
But I hadn't seen specifically this kind of logic puzzle, and I was pretty excited to do it. Granted, a major part of my excitement was knowing I could implement and execute such a puzzle really easily. But I still figure there's some people like me out there.

And the first one I saw was a lot harder and didn't come with a tutorial:
Spoiler: Stealing ideas
index.php
I think to help smooth brains like me figure out this kind of puzzle, you should mention straight up that you're looking for only one right code.
Hm, so I'd probably reword the part saying "deduce the actual code" to something like "deduce the one code that will work."
Edit: Upon further notice, the entire middle section with the ~~ bit is an unnecessary extra step. It asks for the correct digits that are in the wrong position, which - while not a bad thought - just makes the puzzle look more complicated than it actually is.
It's pretty important to this puzzle's design. I used it so sparingly here because it's the hard part. I think it needs to be in there at least once as part of tutorializing it.
If you want this to be an accessible entry level puzzle, I would just show what digits are correct and which are not regardless of position and force the player to figure out which combinations are correct that way. As it is, this still feels like a "level 2" version of this puzzle system.
"Regardless of position"? So, a guessing game?
It would be clearer if the notation were "305 ✓xx" etc.
I'm actually not sure what you mean here. Like tally marks next to the legends instead of counts? Unless you mean showing them in their actual position of the code. In which case, yes, that makes it infinitely easier because it removes the logic part, heh.


So a little more background. Like in Fallout, sometimes optional loot is locked behind a mini-game. But I'm not going to spam like 10 of them in a dungeon like Fallout. More like 1-2 per zone... usually 1. If I use one of these on the critical path, it will be significantly easier than the optional ones. But even the optional ones I'll keep on a pretty mild difficulty curve.
Upon further notice, the entire middle section with the ~~ bit is an unnecessary extra step. It asks for the correct digits that are in the wrong position, which - while not a bad thought - just makes the puzzle look more complicated than it actually is.
It's not unnecessary.
Spoiler: Example
It was what let us know that the final digit is 8 instead of 4.
I'm actually not sure what you mean here. Like tally marks next to the legends instead of counts? Unless you mean showing them in their actual position of the code. In which case, yes, that makes it infinitely easier because it removes the logic part, heh.

Yes, I mean like a tally mark. So "305 ✓xx" to mean "one correct, two wrong" instead of writing out "305 ✓ - 1 ~ - 0 x - 2".

Spoiler: Incidentally....
The solution to the puzzle in your "Stealing Ideas" picture is 0479.
Well, it took me a very short time, but I had the considerable advantage of already knowing exactly what type of logic you expected 😉 In general I feel like the results might be a bit skewed by people who've already seen your profile posts.

Now, as to my thoughts about this... where to begin? Maybe let's establish some basic terms first.
By "deduction" I'll mean the dictionary definition of the word, "inference in which the conclusion about particulars follows necessarily from general or universal premises". So logical inferences that are provably true, based on rules of the puzzle and logical laws.
By "guess" I'll mean any inference that we cannot be certain of, no matter how likely it is.

Note about the tutorial: while I like that you took my advice about that last line and rephrased it, I think this will still be rather confusing to anyone who's only familiar with the dictionary definition of "deduce". I'd recommend using a different word.

And another thing worth establishing: based on this post and your profile post earlier, I'm assuming that the way you expect the player to solve this puzzle is to:
Spoiler: Spoiler for the puzzle
1. Look at the first two rows, notice the common 3, guess that 3 goes in the first position
2. Look at the 3rd and 4th rows, notice the common 7, guess that 7 goes in second position
3. Look at the 4th row, and consider two cases:
3.1. The 4 is correct. But this would result in ✓:2, so it can't be right.
3.2 The 8 is correct. Since the 4 isn't, this is the only valid option.
4. Since there's only one slot left to fill, the 8 goes in there.
(5.) Check if this 378 is correct.
Rather than the purely logical solution offered by @Aoi Ninami earlier.

If so, there's one major design choice you seem to be making, which is rather unorthodox. In logic puzzles, specifically good human-crafted puzzles, there's generally the expectation that they'll be solvable exclusively using deductions. Interesting deductions hopefully.
I'm not saying you absolutely can't do guessing-based puzzles. I can't really think of a compelling argument not to, other than that it generally leads to less interesting logic. And it's not entirely unheard of, rule discovery games often require some of it (though they'll still try to minimise the amount of guessing needed).
Just know that you're entering rather uncharted waters here, which most people tend to avoid for a good reason.

At the very least, I'd strongly recommend tutorialising that idea separately. Have a first puzzle solvable purely using simple deductions, e.g. like this:
0000 | x:4
4508 | ✓:3 x:1
7000 | ~:1 x:3
And only introduce guessing-based mechanics later. The puzzle from your profile post would actually be really good for this, since it's a huge pain to solve purely with deductions, and makes good use the "if two lines with ✓ share a digit it's likely correct" heuristic.
n.b. I'm not sure how true that heuristic really is in general, but I suppose if you make use of it in construction you can make anything true, like "the solution usually includes a 7"

It might also be worth noting that in puzzle games there's rarely a strong divide between a tutorial and the "game". The first half of Portal is basically a tutorial, but it sure doesn't feel like one.
What I mean by that is that teaching the player doesn't end with just explaining the mechanics. Keep track of what kind of deductions/guesses a certain puzzle requires, and ensure that the player will encounter a simpler puzzle where they can figure out this rule beforehand.
There's a good chance you already knew that, but I just wanted to make sure you do 😉

Sorry if I came across as a bit negative in this post; I do think what you're doing can work if done well, just wanted to make sure you're aware of potential problems with it. There's certainly a lot of space for interesting puzzles within this ruleset, and that's before throwing curveballs like 5678 | ✓:? ~:1 x:? or "the solution is divisible by 3".
I love puzzle games, but this was kinda easy as I'm also good in numbers.
but JS math's for logic is far different.

I look forward of this kind of puzzle more though =) keeps my brains sharp 😀
I think this will still be rather confusing to anyone who's only familiar with the dictionary definition of "deduce".
Is this really a worthwhile thing to be a afraid of? You're basically saying scientists will harrumph at my technically inaccurate use of a word. If I used more accurate words like "abductive reasoning" or "heuristic", I will instead get 99% of my players saying "what the heck do these words mean?"

My assumption is that most people's definition of "logic" and "deduction" comes from fiction like Sherlock Holmes, where he somehow "deduces" the murderer because a suspect had some coal dust on his shoes.

But perhaps I could throw in an old adage as a hint: "The simplest explanation is usually the best one" or some paraphrasing.
And another thing worth establishing: based on this post and your profile post earlier, I'm assuming that the way you expect the player to solve this puzzle is to:

Rather than the purely logical solution offered by @Aoi Ninami earlier.
I mean, this seems good? You can solve it quick and dirty, but it also stands up to a "purely logical" solution?
I'm not saying you absolutely can't do guessing-based puzzles
I really have an issue with describing this as a guessing puzzle. I would think a guessing puzzle means you throw out guesses and eventually are told you are correct. Here, you can be like 90%+ sure of a solution, and it will be right about 100% of the time with your first code entered.
Have a first puzzle solvable purely using simple deductions, e.g. like this:
0000 | x:4
4508 | ✓:3 x:1
7000 | ~:1 x:3
I find this to be a troubling example, because what I would infer from seeing multiples of the same digit is that a digit can appear in a code multiple times. This possibility introduces a huge amount of uncertainty and makes many puzzles unsolvable by this technical definition of logic. Unless I give the player more clues. If I have to give the player too many clues it becomes unwieldy. A lower number, like 3-6, seems less headache-inducing.

It might also be worth noting that in puzzle games there's rarely a strong divide between a tutorial and the "game".
Yeah, in an ideal world I'd shove this puzzle (a much harder version) with barely any text. Since I'm not making a puzzle game (it's still a turn-based RPG like usual outside of this mini-game), I'm gonna baby the player so they don't get frustrated and quit, heh.
and that's before throwing curveballs like 5678 | ✓:? ~:1 x:? or "the solution is divisible by 3".
Boy, that sounds like a pretty severe difficulty curve you're describing. The very first one of these I made will probably be as hard as I go. The impression I've been getting is I'll have to make these kinda baby-mode throughout :hswt:
You're basically saying scientists will harrumph at my technically inaccurate use of a word.
I mostly meant people who learned English as a second language (secondarily people who like logic puzzles). There's of course plenty of ways to explain this trick in a simple way, like "if two rows with at least one check share a digit, there's a good chance that digit is correct".

I mean, this seems good? You can solve it quick and dirty, but it also stands up to a "purely logical" solution?
Well, if every puzzle in your game will have a human-findable, deduction-based solution that this is indeed really good. But if you're planning to have puzzles such as the one in your profile post, where such solution does not really exist, then the warning still stands - it can be rather hard to introduce new interesting logic if your players automatically assume they're meant to guess when they're stumped.

I really have an issue with describing this as a guessing puzzle.
This is exactly why I defined precisely what I mean by "guess" earlier. By common definition it might be an inaccurate description, but that wasn't really my point.

I find this to be a troubling example, because what I would infer from seeing multiples of the same digit is that a digit can appear in a code multiple times.
Wait, so your puzzle also has an additional rule: "No digit can appear more than once in a code"? At no point did I get the impression that such a rule exists - it's probably worth explicitly stating it, especially if you want players to make use of it.

Boy, that sounds like a pretty severe difficulty curve you're describing.
To be fair, these are the sort of things I'd do if I was making an actual puzzle game with this mechanic, it might be a bit overkill here. Though on the other hand, if some of it is purely optional... 😛
Wait, so your puzzle also has an additional rule: "No digit can appear more than once in a code"? At no point did I get the impression that such a rule exists - it's probably worth explicitly stating it, especially if you want players to make use of it.
This becomes rather obvious as you logically work it out, plus the presence of the symbol that denotes a correct digit in the wrong place also helps to get this idea across.
This becomes rather obvious as you logically work it out, plus the presence of the symbol that denotes a correct digit in the wrong place also helps to get this idea across.
I'll admit, this has me a bit stumped. How is it obvious? The fact that the solution in this specific instance has no repeats is easily deducible (since, well, only one solution exists), but how did you generalise this? And I'm a bit clueless as to how ≈ implies "no repeats" too.
I'll admit, this has me a bit stumped. How is it obvious? The fact that the solution in this specific instance has no repeats is easily deducible (since, well, only one solution exists), but how did you generalise this? And I'm a bit clueless as to how ≈ implies "no repeats" too.
In this particular puzzle, as you run through the logic using the info given, it does become obvious that no numbers repeat. It's all based on the clues that were given.

As for other puzzles, maybe I'm wrong, but depending on how you set them up, including what initial hints are given, you can expect that a player would naturally conclude that every number in the correct sequence would be different, unless the puzzle specifically notes that some numbers will repeat.

Look at the other puzzle OP posted. There are no sets of numbers that have repeats in the same sequence at all. And once you start solving it, it just naturally becomes apparent that doubles aren't happening.
As for other puzzles, maybe I'm wrong, but depending on how you set them up, including what initial hints are given, you can expect that a player would naturally conclude that every number in the correct sequence would be different, unless the puzzle specifically notes that some numbers will repeat.
If there's anything my experience has taught me is that such expectations tend to have an annoying habit of being proving incorrect by actual players 😛 . The way players engage with complex mechanics is rather accurately described by Murphy's Law.

This won't matter that much if the solution can be deduced without using that rule anyway, but it's worth keeping in mind that if you want players to actually use it then it might be worth stating it.
If there's anything my experience has taught me is that such expectations tend to have an annoying habit of being proving incorrect by actual players 😛 . The way players engage with complex mechanics is rather accurately described by Murphy's Law.
Fair. And not really an unexpected conclusion either.

It's been so long since I've done puzzles like these, but in the two that were posted in this thread by OP, the moment the logic train started rolling and I solved a number placement, it was clear I wouldn't have to worry about repeating numbers. I can only speak for myself though.
Yes, I mean like a tally mark. So "305 ✓xx" to mean "one correct, two wrong" instead of writing out "305 ✓ - 1 ~ - 0 x - 2".
Edit: Forgot to talk about this before.

I'm not sure, this is kind of an apples and oranges situation. Maybe your way makes sense to some people, and mine others. The problem with your way is that it leads people to think there's a correlation between the arrangement of the symbol legend and the code.

But maybe it could be something like "305 | ✓ | | xx" ? Hmmmm....
I mostly meant people who learned English as a second language
Is that a common experience? I can imagine people who learned a lot of English from their profession (in this case, science or math) because English has crept its way into necessity (like in coding). So you see a word and make this association. But I expect people who learned it in a more normal manner wouldn't have this problem. My fiancé doesn't think this way... although I'm not sure which language she considers the "second" one. She's also not a scientist so... yeah.
To be fair, these are the sort of things I'd do if I was making an actual puzzle game with this mechanic, it might be a bit overkill here. Though on the other hand, if some of it is purely optional... 😛
You know, the temptation is there to get crazy with it. I really enjoy struggling with this type of puzzle, but I can't get too sidetracked :hswt: Perhaps in some alternate reality I'd make a game that really develops this into a full game with all kinds of twists and added features. But I'm making a post-apocalypse RPG so I won't 🤣
This becomes rather obvious as you logically work it out, plus the presence of the symbol that denotes a correct digit in the wrong place also helps to get this idea across.
Mac may be on to something, though. I wasn't inclined to explicitly state this as a rule. I was kinda leaving it as a meta-strategy that gamers tend to exploit. But it might be the kind of sticking point I'm looking to get rid of.
Mac may be on to something, though. I wasn't inclined to explicitly state this as a rule. I was kinda leaving it as a meta-strategy that gamers tend to exploit. But it might be the kind of sticking point I'm looking to get rid of.
That's why I told him that was fair. I might just think in a way that I don't require it, but I'm only one guy.

Original thread: https://forums.rpgmakerweb.com/threads/gauging-logic-puzzle-tutorialization.162623/