A simple casino slot machine game for Atmel AVR Butterfly written in Assembly language.
There are three reels. The main task of the game is to stop all of these reels with the same picture on them (Note: picture on a reel is generated "randomly" from 0-9 and A-F). At the end of the game you'll see "WINNER" if all reels have the same picture or "LOOSER" otherwise.
This project is a final homework of the Computer Structures and Architectures course at the Faculty of Information Technology, CTU in Prague.
- AVR Studio (at least 4.12)
- AVR Butterfly kit or simulator (ATmega169 with LCD display and joystick)
- Create a new empty project
- Add
forbes.asm
as a source file - Mark
forbes.asm
as an entry file - Assemble the project
- Now you should see
chars.inc
,print.inc
andm169def.inc
in the folder for included files - Run and enjoy the game!
- Build and run the game
- If everything was successful, you should see "START" on the display of your kit
- Press center button on the joystick to start a new game
- To stop a spinning reel, press center button
- When one reel stops, the next one starts to spin
- After stopping all the three reels either enjoy the victory or accept the defeat
- Wait until your result stop blinking and press center button to start a new game
Distributed under the WTFPL License. See LICENSE
for more information.
Ivan Menshikov - [email protected]