Hartismere School

Est. 1451. An outstanding coeducational secondary school & sixth form college and England's first academy

Coronavirus (COVID-19)

C# Cook Book // Mastermind (Console)

A C# programming recipe for creating a console game of Mastermind:

The computer generates a 3 digit number.

The player has to guess the number.

The computer states how may digits are correct, and in the correct place.

Difficulty: beginner/intermediate.

Ingredients: You can use repl.it or any C# development environment.



Arrange your windows so you can view the recipe while you write your code.