MisterMind: a tool for fact-based reasoning

This tool is to help excercise fact-based reasoning. It is based on Mastermind but instead of being an interactive game, all of the information is statically given at once as a puzzle. Each puzzle has at least one solution but may have more.

a 3 slot version with 4 colours

1 & 2 imply no y (together there can be no correct place for y since there are no black in the score).
Further, the third peg is b (similar reasoning).  
3 implies the middle peg is o and there is only 1 o (since the other is b is the white in the score).  
Finally, the first peg must be r, the unused color

Here's another example with the interface:

The example above shows a puzzle with three slots and 4 colours. The numbered facts and the lettered colours are used to help articulate the reasons for suggesting solutions. Once the empty slots and comments have been filled in so that the puzzle is solved, the solution can be revealed and the solution suggestions can be verified with the facts. Below shows an example of incorrect solutions for the puzzles. Each fact that contradicts the suggestion is written beside it in red with its associated number with a line through it.

some arguments to add to https://jimmorey.com/js/master.html

The underlying coding is implemented with arrays.

mistermind.txt · Last modified: 2021/05/20 14:04 by morey
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki