Discuss Scratch

R_Ravenclaw
Scratcher
100+ posts

debugging & explaining mastermind

I don't know where else to post this do if this isn't the correct place let me know!

I'm trying to solve/understand a potential issue with my project Mastermind, since @gregatku seems to be having trouble with the code they got. If you're not them you probably don't care or don't understand this, so you can just ignore this lol (or I guess you can look at the comment thread in my project and join the discussion if you really want to)

First section is what @gregatku's guesses were. Please let me know if I misunderstood (like I said, hard to explain over text!).

Second & third sections are two possible correct codes that fit with those guesses. It would also work if you swap the reds for blues. So I think there are 4 possible codes that fit.

The little dots next to the numbers represent the colours that the numbers are referring to. Red numbers represent colours in place, blue numbers represent colours out of place.

Last edited by R_Ravenclaw (Feb. 28, 2022 23:02:59)

gregatku
Scratcher
100+ posts

debugging & explaining mastermind

Perfect explanation! You are correct there is no BUG, and no error in the Doco, I am just Brain dead at the moment for playing too much Mastermind!
R_Ravenclaw
Scratcher
100+ posts

debugging & explaining mastermind

gregatku wrote:

Perfect explanation! You are correct there is no BUG, and no error in the Doco, I am just Brain dead at the moment for playing too much Mastermind!

Glad we could clear this up! I was worried there might be an error haha so thanks for taking the time to check this anyways!

Powered by DjangoBB