Vegas-Style Slot MachineDaneaya Wallace and Laura M. Roberts11/14/07OverviewTo make a Vegas-style slot machine, given its popularity in casinos and the popularity of online gamblingWill rely on camera-controlled inputs from user, instead of physical touchDividing project into two parts: game inputs and game outputsDeliver a fun, interactive, and visually-appealing slot machineAgendaHow a traditional slot machine worksHow our 6.111 slot machine will workImplementation−Block Diagram−Discussion of two modulesOptional FunctionalitiesTime-lineHow a Traditional Slot Machine WorksThree identical reels with pictures that rotate when lever pulled after money has been insertedOne-player gamePlayer wins money based on the pattern of pictures shown when reels stopOur 6.111 Slot MachinePlace BetCashPayout$100CameraComputer ScreenWill have the slot machine's elements on a computer screenReels and lever will be animatedOn-screen buttonsPlayer will start out with fixed amount of money to gamble withPlayer pulls the lever by standing in front of camera with red glove on one hand and making the correct pull-down motionImplementationProject divided into two major components, which will be broken up into modules−Game input componentDetects position of the red glove from the camera−Game output componentResponsible for game functionalityModules can be made and tested incrementallyCamera HandlerRGB to HSVConverterRed Color and Center of Mass DetectorCamera Frame BufferVGA Displayerfor SpritesRandomNumberGeneratorGame Logic1024x768ConverterROM for SpritesRGB signalweHSV signaladdrpixelx_coordy_coordy_coordx_coordnumberenableaddrspriteScreen displaypayoutBet Amountresultscash potCurrent bet amountx/y coord of lever spriteCameraIn65MHz27MHzInterface between Game Inputs and Game outputsRed Color and Center of Mass Detector ModuleInputs: pixels from camera frame bufferOutputs: read address for next pixel in frame buffer, x-y coordinates of the center of mass of red gloveFunctionality: Take in each pixel, decide whether red or not, if red, then average it into the current center of mass, thus determining a new center of mass. Center of mass must be greater than a certain weight in order to be considered.Game Logic ModuleInputs: random number, x-y coordinate of red glove, payout (end game), bet amountOutputs: Current bet amount, cash pot, results, enable, reel1, reel2, reel3Functionality: Takes in a bet amount, waits until hand is over lever for 2 seconds, then waits until hand makes a “pulling lever” motion until it reaches a certain threshold. The game logic picks random sprites for the reels.Optional FunctionalitiesMake the slot machine user-friendly by having it give the player on-screen directionsMake the reels spin faster or slower in relation to the force of the pull-down of the leverMake it so that a player can place bet by using the on-screen buttons, instead of having to use the switches on the FPGATime-lineMeet together−Mondays 12pm-2pm−Wednesdays 12pm-3pmCurrent week: Checklist, codeWeek of 11/18: CodeWeek of 11/25: DebuggingWeek of 12/2: Optional functionalitiesFinal Week: Preparing presentation and reportOngoing: Writing description of modules as we
View Full Document