Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Funny game

  1. Jul 4, 2006 #1


    User Avatar
    Science Advisor

    There's a funny flash game where one of the puzzles is to guess a four-digit password with digits from 1 to 8. After each guess, the puzzle gives you some number of x's and some number of o's, with the x's indicating how many numbers you guessed correctly and in the right place, and the o's indicating how many numbers you guessed were correct but in the wrong place. Incidentally, you get nine guesses to find the password. Is there a simple optimal strategy for this?

    Also no digits appear more than once in the password and you can't guess a password with digits appearing more than once.
    Last edited: Jul 4, 2006
  2. jcsd
  3. Jul 4, 2006 #2


    User Avatar
    Science Advisor
    Homework Helper

    You might try looking up strategies for Mastermind, it's very similar. In mastermind you have only 6 choices for the digits (colours actually) and repetitions are allowed. Mastermind can apparently be done in 5 guesses.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Funny game
  1. Funny question (Replies: 2)

  2. Football Game (Replies: 12)

  3. Funny math proof (Replies: 1)

  4. Cheating in the game (Replies: 3)