
INF351 Project
Memory Game Box
A game device for pattern memorization

About Us
INF351 course group: Jiyuan Cheng, Erxun Ta, Lena Klassen

Project Story
Physical Hardware
During the project process of memory game box, we first to create the physical demo. We prepare one breadboard, one OLED feather M0 screen, 4 pixel LED lights, 4 physical buttons with 4 different colors and several cables. Next, we assemble the all parts together. Finally, we made a physical case for this device using hand-cut paper.
Sample Work



Software Development
My main role for this project is software developer. The software platform for developing is Arduino IDE. First, I write the pixel code to make the all 4 LEDs can light up, then I add the Bluetooth code to allow the phone to connect the game device. The remaining work is I write the game logic code using while loop, if statement and switch case to make the whole game work.
Sample Work



Gameplay
A skit for how to play the memory game box. Caspar just finished his classes today, then he went to BI lounge to eat some snacks. He felt little boring since he had done all current assignments at that time. Therefore, He played the memory game box with his classmates Harry. Harry used the Bluefruit App in his phone connected to the box, then he sent the message which was a sequence of color code (eg. RYGB). R was for red, Y was for yellow. G was for green and B was for blue. The pixel LEDs lighted up in order according to the sequence of color code then turned off the light automatically. Next, Caspar who was the other player memorized the order of LEDs lighted up, then pressed the buttons of the corresponding colors in the order of lighting. Caspar pressed RGYB, then the “fail” message showed on the screen of Harry’s phone. Harry laughed at his bad memory.
Sample Work

