Computational Logic and Games
Games and computational logic have had a long relationship. Many classic games (chess, checkers, tic-tac-toe, etc) have interesting mathematical aspects, and many computer science applications (reordering stacks, code breaking, etc.) have been adapted to games; such as the one we are about to explore.
1. Please read the instruction for Mastermind at the following website, or watch the video explaining how to play:
2. Play at least 3 games of mastermind at one of the following sites:
http://www.web-games-online.com/mastermind/ *note: Guesses start from the bottom and go up. Drag and drop pegs to slots)
http://www.archimedes-lab.org/mastermind.html *note: Guesses start at the top and go down. Click on the color you want
WRITING PORTION – 400 Words MINIMIM
- Write a brief summary of your experience with the game. Include:
- The strategy for the starting move
- How you made subsequent quesses
- If you discovered the code and how many guesses did it take?
- A screenshot of one of your completed game (please reference the game shown when describing your strategy)
Need help figuring out how to upload a picture? Please see the tutorial here
- Calculate how many codes are possible, and describe your calculation IN YOUR OWN WORDS. *Note: I am looking for insight into your thinking, not your ability to look up the answer
- Describe how you use the different feedback outputs (the white and black pegs) as part of the strategy to break the code. How many possible output codes are there?