This game was implemented with the CodeDraw library and serves as a small demo for that project.
# install java
brew install openjdk
# clone repository
git clone https://github.com/sueszli/mastermind/
cd mastermind
# run the game
javac -cp ./lib/CodeDraw.jar ./src/Mastermind.java -d ./out
java -cp ./out:./lib/CodeDraw.jar Mastermind
![SCR-20230613-kuhm](https://private-user-images.githubusercontent.com/61852663/245436158-b817cbce-09a6-49df-8ec4-9d15f353835d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MzgxNzgsIm5iZiI6MTcxOTYzNzg3OCwicGF0aCI6Ii82MTg1MjY2My8yNDU0MzYxNTgtYjgxN2NiY2UtMDlhNi00OWRmLThlYzQtOWQxNWYzNTM4MzVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDA1MTExOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3YzE1MjUzODM1Y2Q1YThmMzI5MDQwNGI2NjZlY2YwZGZlZTgyNTIxZTY0MjRkMTAwZTNhMTI5NmVlNzE1ODcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.124qFCckPoSLeHu2WjlF0IJrApF2pZjtbRa4ObGTDO4)