Made By: Linus Flury for Mobile & Gui Engineering HS 2022
Last Java Version: https://github.com/CHLinusch/MGE_Mastermind/tree/bbe832ed3b4fe160a3d517b628823bf267f91b3f
This application is for playing the game "Mastermind" where you have to find out the correct color and order of pins. Two modes can be chosen (repeatable and non repeatable colors).
English main menu, bright modeYou press the colored buttons and the bottom to place them at the first available spot in a row (left to right). You can press the placed button to remove it while the row is not completly filled. Upon filling the row, the guess gets evaluated in the smaller box to the row. For each black pin you placed a button with the right color at the right place. For each white pin you placed a button with the right color at the wrong place. For each grey pin you placed a button with the wrong color. The goal is to get 4 black pins before you used up all your tries. If you chose repeated colors, a color can appear more than once. If you did not chose so, already used colors are disabled for that try.
Finished game, bright modeYou can restart the game with a new solution by pressing the restart button.
You can get back to the menu with the back button. The last finished guess will be saved.
It has a dark and bright mode available. The game state will be persisted, you can resume play even after closing the app.
Finished game, dark modeIt is available currently in two languages: English and German. It is written in Kotlin.
Dark mode German menuThis project aims for at least the following points:
| Feature | Points |
|---|---|
| Using Kotlin | 3 |
| Functionality | 1-2 |
| Localisation en-de | 1 |
| Persistence | 1 |
| Dark theme | 1 |
| Total | 7-8 |
0.1: Pegs, Game Evaluation Logic
0.2: Mainscreeen, Strings (de+en)
0.3: Layout Game
0.4: Persistence
0.4.1: Persistence in Activity
0.5: Layout, Button/Viewmapping
0.6-....: Game Logic, Styling, Locales, Bugfixing
1.0: First release




