“Let’s Take This Outside” BoxingDavid A. BlauUzoma A. OrjiReesa B. PhillipsMotivationOverview• One or two player boxing game• 3 Modules– User Interface– Control Unit– Imaging & AudioUser InterfaceControl UnitImaging & AudioUser Interface• Camera– horiz. & vert. position of gloves– dist. between gloves• Colored gloves– green for easy detection• 2 axis accelerometers– detection & force of a punch• Outputs positions of hands & force of a punch to Control Unit moduleControl Unit• Inputs from Camera and Accelerometers• Inputs from AI module or other Labkit• Updates player state– Movement– Punches– Life and Energy• Outputs to Imaging & Audio modules and other LabkitControl Unit Data FlowPlayer 1InputPlayer 2InputAIPlayer 2DisplayPlayer 1DisplayControl Unit(Player 1)Labkit 1 Labkit 2Control Unit(Player 2)Control Unit Computation• Determine if each player is:– Standing– Blocking– Punching (and if the punch connects)– Recoiling from Punch• Update:– Positions of hands and head– Picture of opponent– Life bars and Energy barsImaging Block DiagramAudio Block Diagram0:19Player 1 Player 2Time
View Full Document