Project Description
- My game is based off the real game of Simon. Simon is a game of memory, and it’s supposed to push your limits on how much you can memorize and recall in a short amount of time. The game consists of four colors (Blue, Red, Green, and Yellow) situated in a circular ring, but since I was dealing with a rectangular GamerGorl, I put one color on each side. The game starts with one color that flashes, and you have to repeat back to the game which color flashed. Then, two colors will flash, and you have to repeat back to the game, in order, exactly which two colors flashed. After each correct recall, a new color is added onto the end, and you continue to recall the sequence of colors. Once you correctly recall the sequence of colors before a new color is added on, you receive a point. If you recall some of the colors correctly but make a mistake, you receive 0 points for the turn and your final score is based off how many points you had at the beginning of your failed turn. When a color is flashing, the game will display the respective color’s name on the screen. So, if red is flashing, it will say “Red” on the screen. Whenever the game wants input back for the user, the screen will read “...”. To select whichever color you think is next in the sequence, you have to push the joystick in the direction of the color and press any button to confirm your selection. At the end of the game you have to option to restart or return to the main menu. Also, the local high score of the game is saved.
Method - describe your experience writing your part of the project. What were the easy parts and what did you have trouble with.
- The two hardest parts of coding the game were getting the lights to work properly and getting the color selection function working. Don’t get me wrong, it is very easy to operate the LEDs to do almost whatever you want, but getting only a specific portion of the LED chain to light up was a bit difficult. This was crucial in my game because only one side is supposed to light up and show particular color during the whole game, never do two sides flash at once. Writing the code to produce a random color sequence wasn’t very hard either, but the process of the user needing to correctly recall the sequence was difficult. But, overall I am very pleased with the finished product.
Future improvements - What would you make better. What do you want to change?
- I would want to improve the on-screen interface of the game. Most all of the game deals with the LEDs and buttons, but almost none of it deals with the screen itself. I would want to add prompts on the screen that depict how to select your guess and maybe add some graphics to go along with it too.
Pics or it didn’t happen - Paste at least 3 screenshots or photos here.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.