Othello Discussion

When the idea of creating an Othello game on Matlab was first introduced, some of the group was not too sure about it because we had never heard of or played the game, but two members had heard about and played it and they were fully confident in their abilities to create the game and teach us what the game is and how to play along the way. In order for the game to exist, there must be a board, so an array was created that was eight by eight with two one’s in the center and two two’s also in the center that were in a square, with the matching numbers diagonal to each other. Two players are necessary to play this game, or just one person controlling the inputs of both player 1 and player 2. To begin building the code, the first thing to do was create the array for the board. The next thing that had to be done was to have the program automatically fill in the middle four spaces of the board with two spaces for each player. The next step of the code is to ask a player for their input, requesting an x coordinate and then the y coordinate. The first time the game was tested, it became apparent that the program was not successfully having the team with more of the board filled win, so that portion of the code had to be tweaked. After that the testing went relatively smooth, there were multiple people that tested the game, and all tests succeeded once that tweak was complete.

Leave a Reply

Your email address will not be published. Required fields are marked *