Please enable JavaScript to use CodeHS

Rhode Island Computer Science Principles in Python

Project: Mastermind

Students use their knowledge of lists, functions, variables, and control structures to create a basic Mastermind game where players must guess a generated sequence of numbers.

Lessons

9.1 Let's Build Mastermind

  • How to Play Mastermind
  • Mastermind: Demo
  • Generate Number List
  • Get User Guess
  • Compare User Guess to List
  • +2 more

Courses that include this module