Skip to content

Programming by Design

If you're not prepared to be wrong, you'll never come up with anything original. – Sir Ken Robinson

  • About
  • Java-PbD
  • C-PbD
  • ASM-PbD
  • Algorithms
  • Other

Mastermind by Design

Posted on January 27, 2020February 24, 2020 By William Jojo
Uncategorized

[Note: Mastermind is a registered trademark of Invicta Toys and Games and distributed by Pressman.]

For the Spring 2020 semester we will be building our own version of Mastermind. It will begin as a text based game followed by being converted to JavaFX.

Mastermind Board
Sample game board.

The process will involve:

  • Identifying data types.
  • Performing string analysis.
  • Converting between different data types.
  • Employing loops for selecting the blind and guess matching.
  • Designing the logic flow of game play.
  • Employing user-defined methods for breaking down the problem into smaller, digestible pieces.
  • Developing a fully functional text-based game.
  • Designing a JavaFX GUI layout.
  • Designing the logic for game play within JavaFX.
  • Developing a fully functional JavaFX game.

The following link will allow you to play the current prototype for the text-based version.

Mastermind Text-Based Game Prototype

Post navigation

❮ Previous Post: Introduction
Next Post: PHP Code to Perform BankMobile SSO ❯

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Copyright © 2018 – 2025 Programming by Design.