F. Discussion

Memory Game:

The team sat down and discussed the types of games we would be happy doing. Knowing that everyone on the team wanted to do a card game we decided on a virtual game of concentration, which is a memory game. To create the memory game the team used the simpleGameEngine and the retro_card.png provided during class to start the creation of the game. While creating the Matlab code there were not many complications; however, the most difficult part was figuring out how to match the cards with one another. Furthermore, the team wanted to be able to display a timer on the screen, as we thought that it would make it more competitive; unfortunately, after another team meeting we decided it would be best to not do that, as it would take a lot more time. During one of the testings of the game we noticed a bug that the last two flipped cards (which were a match) would not disappear off the screen. We solved this problem by trouble shooting and developing more code, which then we were able to get the two cards to flip over and disappear. The Matlab code involved declaring the game engine and the loop that would be used later on in the code. Then, drawing the scene which would show the 4 rows of 13 cards, that would be matched during the game. Following that, the loop was created where after two cards were flipped if they matched they were taken off the screen and if they did not match they were flipped back over. A while loop was also used so that the game would keep running until the player pressed the key “q”, which means “quit”. After the player had finished the game they would then be able to see there score. Creating this game/code took multiple team meetings, lab periods, and work sessions; however, it was completed before the click adventure game, overall taking less time.

 

Click Adventure Game:

The team sat down and discussed the types of games they would be happy doing. We knew this game would be our extra-credit, however, we wanted to choose something fun and interesting. Originally, the team had decided on something along the lines of a platformer game. However, after a team meeting we decided going with a differently designed game would be a smarter choice; therefore, our game transitioned to a click adventure game. To create the click adventure game the team used the simpleGameEngine; however, we decided to create our own sprites. This took a longer amount of time than anticipated, but we persisted anyways. Throughout the process of creating the game we made more sprite sheets as needed. There were obstacles when it came to developing the code as there was some uncertainty of what to do in certain parts; however, with some outside researching, trouble shooting, and talking about it we overcame that. The Matlab code involved calling variables and defining the different things. Then, having the screen switch from the starting screen to the first game screen, where the player would identify where the moon was. Following, after finding the moon they would click on it twice which would then have the screen switch to the second game screen. The player would then do the same steps for each level, after completing all levels, the game would go to the restart or end screen. Creating this code/game took multiple team meetings, lab periods, and work sessions.