Coder Social home page Coder Social logo

menshiva / forbes Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.14 MB

A simple casino slot machine game for Atmel AVR Butterfly written in Assembly language.

License: Do What The F*ck You Want To Public License

Assembly 100.00%
assembly-language atmega atmega169 avr-assembly avr-programming game slot-machine assembly avr avr-microcontroller

forbes's Introduction

Preview

Forbes

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.

Requirements ๐Ÿงฌ

  • AVR Studio (at least 4.12)
  • AVR Butterfly kit or simulator (ATmega169 with LCD display and joystick)

Build ๐Ÿš€

  1. Create a new empty project
  2. Add forbes.asm as a source file
  3. Mark forbes.asm as an entry file
  4. Assemble the project
  5. Now you should see chars.inc, print.inc and m169def.inc in the folder for included files
  6. Run and enjoy the game!

How to Play ๐Ÿ•น๏ธ

  1. Build and run the game
  2. If everything was successful, you should see "START" on the display of your kit
  3. Press center button on the joystick to start a new game
  4. To stop a spinning reel, press center button
  5. When one reel stops, the next one starts to spin
  6. After stopping all the three reels either enjoy the victory or accept the defeat
  7. Wait until your result stop blinking and press center button to start a new game

License ๐Ÿ“„

Distributed under the WTFPL License. See LICENSE for more information.

Contact โœ

Ivan Menshikov - [email protected]

forbes's People

Contributors

menshiva avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.