Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

ericvelazquez/Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

Mastremind API

To start the game please run: python game.py

Th input for the codemaker/codebreaker should be the initial of the color. For the code [Red, Blue, Green, Red], the input should be rbgr. If the input is not valid, the game will ask again for the input and will not count it as an attempt.

Classes

The classes of this project are:

  • [Board] - Rest API of the game.
  • [Player] - Asks the players (Codemaker/Codebreaker) for an input. If the input is valid, calls Board fucntions.
  • [Game] - Makes the workflow of the game. Keeps asking for a guess (using Player fucntions) until the codebreaker is out of attempts or has guessed the solution.

About

Mastremind API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages