The Memory Game project is especially noteworthy to me because for this project, our partner teams were only given two weeks to design and implement a working product. This project was built for the Introduction to Embedded Systems (ECE230) course at Rose-Hulman. Throughout the term, we learned about a specific microcontroller chip, the PIC16F887, and for the project, were asked to implement a project that not only used the PIC chip we had been working with throughout the term, but also with additional requirements, such as needing at least one input, one output, the use of one timer, and the sue of one interrupt within our code. My partner and I decided to implement a one-player Memory Game that fulfilled all of these requirements. The final, functional circuit is shown on the right.
LCD Screen on Game Startup
The object of the game was very simple. When players plug in the board, the LCD screen prompts them to press the start button. When players press the start button, there is a small delay before the game shows the player the first shape. This is round one. In order for the player to pass round one, they must press the button that corresponds with the first shape shown. This will earn them points, and they can move on to round two, which shows them player two shapes which the player has to repeat back using the buttons in the correct order. A player is allowed up to three misses during the game. If a player misses three times, the game is over. Alternatively, if the player passes round 10, they win the game, and can press start to play again. Shown below are two demonstrations of the game, one where the player loses after three misses, and one where the player wins all ten rounds.
Video 1: Ending The Game via Three Misses
Video 2: Winning the Game
In addition to these demonstration videos, my partner has agreed to let me upload our final report that includes a discussion of the requirements we met, the way we designed the hardware and software, as well as a User's Manual for players to utilize.
Click here to view!