G. Conclusions and Recommendations

Our creation of Minesweeper helped develop our coding and MATLAB skills as well as creative skills. We applied a wide variety of programming aspects such as functions, arrays, loops, and more, as well as additional features such as sound and color inputs and recursion techniques. We also found and recommend that the coding should be done in separate parts, beginning with the main parts (a grid and keyboard controls) and then the additional features, like different levels and customizations should be added later. This ensures that the foundation of the game is strong and allows for a more efficient coding process.  Through problem solving and testing, we were able to create an intricate and leveled game which we can implement aspects of into future problems and projects.

Future improvements that would make the game more fun and exciting could be made. The idea of allowing the user to change the amount of bombs through a difficulty setting was suggested. This would likely be done trough a modification to the makeField function.

Another modification that could be made is the option to make the minefield rectangular. This could be done by splitting up the fieldSize variable into fieldHeight and fieldWidth. These modifications would further improve the Minesweeper game and would be completed if done again.