Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pascalcorpsman/mastermind
Implementation of the board game Mastermind
https://github.com/pascalcorpsman/mastermind
freepascal lazarus mastermind source-code
Last synced: about 1 month ago
JSON representation
Implementation of the board game Mastermind
- Host: GitHub
- URL: https://github.com/pascalcorpsman/mastermind
- Owner: PascalCorpsman
- Created: 2023-09-08T10:32:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-23T18:16:58.000Z (over 1 year ago)
- Last Synced: 2023-09-23T22:18:11.172Z (over 1 year ago)
- Topics: freepascal, lazarus, mastermind, source-code
- Language: Pascal
- Homepage:
- Size: 202 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastermind
This repository implements the Mastermind board game with 4 or 6 colors (including an AI that can be used to get tipps, when solving).
![](preview.png)
This repository holds a playable game and if you want. Download, compile and play the game. But that is not the reason why i created this repository ;).
I created this repository as i needed a "old" starting point of a working project where i could practice and improve my refactoring skills.
This repository will "log" by its commits the progress of hopefully improving the code base step by step. This will give you the ability to see how i improved the code.
As starting point i read the book "Five Lines of Code" (ISBN-10: 3836292246, ISBN-13: 978-3836292245) written by Christian Clausen. I will practice the technices shown in this book and mix them with my intuition to hopefully in the end, get a cristal clear easy to read codebase that is still working like expected.
This is the FPC_understand chart statistic of the inital commit:
![](Initial_FPC_Understand_analysis.png)This is the FPC_understand chart statistic of on 10.09.2023:
![](Actual_FPC_Understand_analysis.png)## License
See the license.md file located at https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md for details about the license.