G. Conclusions and Recommendations

After a long development process, the goal of having a program display a Connect 4 board, take user inputs, and determine the outcomes of a game was completed. The final program accurately runs a game very similar to the actual Connect 4 game. The use of functions was an efficient way of checking each win possibility, and created a successful, organized final product.

This could not have been accomplished without problem solving. Problem solving was necessary in the development an debugging process as many challenges were presented. In the development of the program, the largest problem was checking the diagonal wins. This was solved by brainstorming different solutions, and eventually using functions to check each win outcome. While debugging, an issue was found within the code that displays which player’s turn it is. This was fixed by creating a rule change to the game. Overall, problem solving allowed this project to be successfully completed.

If this project were to be redone, a few changes could increase the quality of the final product. Functions would have been used from the start, as they created a cleaner final program. More brainstorming into how to convert Connect 4 into a Matlab playable game would have been done. This would have cut down on production time as the program would have been planned out better.