Summary: | This article describes the implementation of a gaming machine of “Mafia Wars” using Arduino UNO board and some other electrical components for the construction. The gaming machine is designed by the following items, such as game story setting, interactive elements for the game play, game art, state machine for the game process, coding, electrical components, and hardware construction, etc. There are INTRO, ROULETTE, SLAP, WAR and End Round states in this game. Some important interactive mechanisms with Arduino board for the gaming machine are designed and illustrated in this study. The hardware of the gaming machine consists of an Arduino UNO, a LCD screen, a photo resistor, several resistors, LEDs, buttons, plastic coins, game art decoration and the wood shielding box. Finally, the resultant functions of the gaming machine are tested by playing and the testing results demonstrate the good working performance.
|