“Let’s Take This Outside” Boxing6.111 Final Project ReportDavid A. Blau, Uzoma A. Orji, Reesa B. PhillipsMay 18, 2006TA: Javier CastroAbstract”Let’s Take This Outside” Boxing is a one player or two player game in which fighter box to thedeath. The user interface is comprised of a camera and sensors equipped with accelerometers. Thecamera detects the position of the sensors and the accelerometers measure the force of a punch. Theposition of the boxer is inferred from the on-screen coordinates of the gloves. Wh en a punch is detected,the control unit d etermines whether the pu nch hit the opponent and how forceful it was. The moreforceful the punch, the more damage is done. The game continues until one player loses all her life. Theoutput displays an image of the gloves and the opponent and health meter. The fighters, their healthmeters, and the boxing ring are drawn using sprites read from ROM.1Contents1 Introduction 42 User Interface 42.1 Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Control Unit 83.1 Title FSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.2 Time Left FSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.3 AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103.4 Fighter FSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.5 Inter-Labkit Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.5.1 Send User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.5.2 Get User Da ta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123.5.3 Send Display Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123.5.4 Get Display Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Imaging 124.1 VGA Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.2 Display Field Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.3 Glove and Fighter ROMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.4 Fighter 1 Control Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.5 Fighter 2 Control Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.6 Boxing Ring Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.7 Number Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.8 Rectangle Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.9 Timer Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Acknowledgments 186 Conclusion 18List of Figures1 Motivation for the project. Can Reesa beat up Uzo ma? . . . . . . . . . . . . . . . . . . . . . 42 Block Diagram of the Overall Boxing Game. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Block Diagram of Overall User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Picture and schematic of the sensor equipped with an accelerometer, ADC and LEDs. …
View Full Document