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?(adsbygoogle = window.adsbygoogle || []).push({});

Also no digits appear more than once in the password and you can't guess a password with digits appearing more than once.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Funny game

**Physics Forums | Science Articles, Homework Help, Discussion**