Full documentation below
https://docs.google.com/document/d/1FobysX7-ldxoW_8_gbvwzzT51iDeP40s8euVsIR8_9I/edit
Agility is a game that tests your reflexes and motor skills. I programmed this game onto an Atmega-1284 microcontroller using AVR tools. The game handles bit manipulation and collisions. The game is won when you have received 9 points, but when you are hit by a projectile, you will lose the game.
- Daniel Kwong
The game is a SynchSM which has 2 tasks and 1 menu FSM.
MENU- serves as a menu in which the player can enter in and out of games, and allows the player to set their game avatar.DISPLAY- doubles as an input and output task. Allows processing of input whilst simultaneously outputting to LCD and LED matrix.FALLING_STATES- handles the "AI" of the game, and calculates collisions and contact with the player.
I used some pre-built libraries that were either given to us from our labs or were native to C.
- stdlib.h
- timer.h
- scheduler.h
- bit.h
- io.h
- eeprom
- util/delay.h
- Game Logic
- 8x8 LED Matrix
- Custom characters / player look customization
- EEPROM