Skip to content

suhuiii/MastermindGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind Game

This is a Java/Swing implementation of the classic board game "Mastermind", where the codebreaker (you) plays against the codemaker (the computer).

The codebreaker will try to guess the sequence of 5 colors which are automatically generated from 10 possible colors. Once the codebreaker has made his guess, the computer will provide feedback using black (match in color and position), white (match only in color) and grey (no match).

The codebreaker has 20 turns to crack the code, working from the top to the bottom. The codebreaker may give up at any time, at which point the secret code is revealed

Motivation

This was developed for a software design class to demonstrate the use of TDD.

Exeuting the Build

You can execute the build using one of the following commands from the root of the project:

  • ./gradlew (on Unix-like platforms such as Linux and Mac OS X)
  • gradlew (on Windows using the gradlew.bat batch file)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages