Skip to content
/ Agility Public

An interactive game that tests reflexes and motor skills. Programmable to the ATMEGA1284 microcontroller.

Notifications You must be signed in to change notification settings

jaeeee/Agility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agility

Full documentation below

https://docs.google.com/document/d/1FobysX7-ldxoW_8_gbvwzzT51iDeP40s8euVsIR8_9I/edit

About

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.

Team

  • Daniel Kwong

Tasks

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.

Libraries

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

Build-upons

  • Game Logic
  • 8x8 LED Matrix
  • Custom characters / player look customization
  • EEPROM

About

An interactive game that tests reflexes and motor skills. Programmable to the ATMEGA1284 microcontroller.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published