On this page, the flow chart for TA Time can be found below. Additionally, the distribution of responsibilities among group members can be seen.
Flow chart:
Function Distribution:
writeInstructions():
– Displays on LCD the instructions on how to play the game and the buttons that need pressed.
– Team Member: Matthew
writeStatistics()
– Displays on LCD the current statistics of those who have saved their game statistics after
winning. Example: RCD–>1000pts
– Team Member: Brian
writeCredits()
– Displays on LCD the credits of the game including any software used, any references, any dates,
and any other relevant information.
– Team Member: Matthew
openScene()
– Opening scene of question mark man popping onto screen and setting himself and the player
icon into their initial positions.
– Team Member: Brian
goals()
– Displays on LCD a context message in which the esteemed overlord Dr. Ethan Joll must defeat
the evil question mark man to save his FEH classes.
– Team Member: Matthew
draw()
– Draws the enemy icon and player icon at their respective places on the screen.
– Team Member: Ryan
enemyMove()
– Continuously draws, deletes, and redraws the enemy according to discussed movement
patterns developed by the team.
– Team Member: Ryan
enemyShoot()
– Continuously has enemy shoot projectiles in discussed patterns developed by the teams.
– Team Member: Ryan
updateHealth()
– Updates health of enemy when hit with a projectile fired by player.
– Team Member: Brian
updateStatistics()
– Updates statistics of game when player defeats the enemy with inputs by the user.
– Team Member: Matthew
endMessage()
– Displays a congratulations message to screen for player.
– Team Member: Matthew
updatePlayerHealth()
– Updates health of player when hit with a projectile fired by the enemy.
– Team Member: Brian
defeatMessage()
– Displays a defeat message to screen for player.
– Team Member: Matthew
moveRight()
– If the right button is pressed, move the player icon to the right.
– Team Member: Ryan
moveLeft()
– If the left button is pressed, move the player icon to the left.
– Team Member: Ryan
playerShoot()
– If the middle button is pressed form a projectile object and shoot it.
– Team Member: Ryan