Please enable JavaScript to use CodeHS

Mastermind

In this project, students will recreate the classic game of Mastermind using loops, conditional statements, and arrays.

Hard

5 Hours

High School

Project Description

Project Demo

Explore this program before assigning it!

Project Overview

Here is an outline of the project activities:
How to Play Mastermind
Mastermind: Demo
Generate Number List
Get User Guess
Compare User Guess to List
Check if User has Won
Finish the Game!