Python Classroom
  • Introduction
  • About Python Classroom
  • Python Cloud Options
    • CS50 IDE
      • CS50 IDE Overview
      • CS50 IDE and Python
      • CS50 IDE Debugging
      • CS50 IDE Shortcuts
      • Linux Bash Shell
      • Vim Mode
        • Vim Tutorial
    • CS50 Sandbox
    • PythonAnywhere
    • Repl.it
  • Python Curriculum Map
    • Pedagogy
      • Python Professional Development
      • Teaching Tips
      • Assessment Tips
      • Rubrics
      • Activities
        • Picture Activity
        • Map Activity
        • Crossing the Bridge
        • NIM
        • Mastermind
        • Cards
          • Card Deck Algorithms
          • Sorting Cards
        • River Crossing
          • Jealous Boyfriends
          • Cannibals and Priests
          • Family
          • Police and the Thief
          • Humans and Monkeys
          • Moving Money
        • Crossing the River
        • Traveling Salesperson
        • Logic Problems
        • CIA Crack the Code
        • IQ Test
        • Puzzles
    • AP Computer Science Principles Framework
  • Python Philosphy
    • How to Practice Python
  • microbit
  • Turtle Graphics
    • Turtle Examples
    • Turtle Activities
    • Turtle Maze Problems
    • Turtle Graphics with loops
    • Turtle Snake
    • Turtle Graphics with Conditionals
  • Output
    • Output Examples
    • Output Mistakes
  • Variables
    • Variable Data Type Examples
    • Variable Role Examples
    • Variables Mistakes
    • Variables Problems
  • Math
    • Math Examples
    • Math Mistakes
    • Math Problems
    • Math Self Check
  • Input
    • Input Examples
    • Input Mistakes
    • Input Problems
  • Decisions
    • if
      • if Examples
      • if Mistakes
      • if Problems
    • if else
      • if else Examples
      • if else Problems
      • if / if else Problems
    • if elif else
      • if elif else Examples
      • if elif else Problems
    • nested if
      • nested if Examples
      • nested if Problems
    • Logical Operators
      • Logical Operators Examples
    • Adventure Game Project
  • Loops
    • while loop - count up
      • Examples
      • Problems
    • while loop - countdown
      • Examples
      • Problems
    • while loop - sentinel value
      • Problems
    • while loop - sentinel menu
      • Problems
    • for loop - range (one argument)
      • Examples
      • Problems
    • for loop - range (two arguments)
      • Problems
    • for loop - range (three arguments)
      • Problems
  • Lists
    • Lists - Numbers
      • Problems
    • Lists - Strings
      • Problems
      • Shopping Project
  • Dictionaries
  • String Methods
  • Functions
    • Variable Scope
    • Functions - no parameters
    • Functions - one parameter
    • Functions - return
    • Functions - lists
  • Files
  • Classes
    • Inheritance
  • Python Projects
    • Adventure Game
    • Restaurant Project
    • Trivia Game
    • Family Tree Project
  • Raspberry Pi
    • Raspberry Pi Models
    • Raspberry Pi Setup
  • Roblox
  • Glossary
Powered by GitBook
On this page
  • Introduction
  • Eight Colors
  • Secret Code
  • Game Rules

Was this helpful?

  1. Python Curriculum Map
  2. Pedagogy
  3. Activities

Mastermind

PreviousNIMNextCards

Last updated 5 years ago

Was this helpful?

Introduction

This game of mastermind uses eight colors. The teacher selects three colors for their combination. The teacher is not picking any repeat colors. With this version of the game, the students should be able to have the answer in 6 guesses or less. If students have never played before, it is good to do an example on the board to show expectations. The very first time you play it will probably take 30 minutes to explain, demonstrate, and move through two rounds.

Eight Colors

  1. Red

  2. Blue

  3. Yellow

  4. Green

  5. Magenta

  6. Orange

  7. Purple

  8. White

Secret Code

Position 1

Position 2

Position 3

Red

Blue

Magenta

Game Rules

  1. The teacher puts the students into groups of 3.

  2. The teacher picks the secret code. (Three colors/no repeats.)

  3. Explain to students they will be making their guess one set at a time (three colors)

  4. Before allowing the students to start working in their groups, tell them that each guess they make is a clue to the secret code. Encourage the students to use the first letter of each color as they guess. This will get them into the routine of using symbols.

  5. Teacher will call the students over for each round of guesses. By calling them by Round 1, Round 2, etc., you are ensuring the the teams are not rushing.

  6. When students bring up their guess, tell them how many colors they have correct, then how many colors they have in the correct space. (For example, 1 correct, none in the right space)

  7. Students will return to their groups to formulate their next guess. Give groups about 45 seconds between guesses.

  8. Call students up for round two and repeat steps 6-7.

  9. If students guess in 6 or less, then they win! If they do not complete their guesses in 6 or less then their game is over.

  10. Have a winning and losing team place their guess process on the board. Have them explain their process and discuss logically why their guesses made or did not make sense. Explaining the process at the end will help make all groups more successful.