Code Monkey home page Code Monkey logo

slotmachine's Introduction

Katipunero Slot Machine

I. Game Overview

The game is a just a simple casino-style slot machine. The player is given starting money to play the game. The player will then play the game to earn more money. The game will continue until the user runs out of money or when the user quits the game. When run out of money, the user can decide to reset the game to play the game again with the starting money. The jackpot price also gets reset. The game icons are each item of a Katipunero (Filipino group who fought against Spain).

II. Game Play Mechanics

There are 4 bet buttons used to choose how much the user want to bet on a spin. Each button has a value (10, 20, 50, 100). There is a spin button used to spin the reels. After the reels spin the user will know whether he win the game by looking at the message on top of the reels. If the user wants to see how much his cash, bet or the current jackpot is, he just needs to look at the texts under the reels. The user will have a chance to win the jackpot when he gets a pair of three symbols (excluding the sad faces). The machine will decide whether to give the jackpot price or not (1/100).

III. Controls

Mouse is used to click buttons or to click the close window.

V. Scoring

The odds of getting the icon in a reel and the win price are:

Name Odds of getting one Trio Pair Bonus Wins
Sad Face 40% 0 0 No sad face: bet * 1 (return bet)
Katipunero Hat 16% Bet * 10 Bet * 1 n/a
Bandana 14% Bet * 20 Bet * 2 n/a
Camesa De Chino 12% Bet * 30 Bet * 2 n/a
Banyal 7% Bet * 100 Bet * 2 n/a
Tsinelas 6% Bet * 200 Bet * 2 n/a
Arnis 4% Bet * 300 Bet * 5 n/a
Siete 1% Bet * 1000 Bet * 10 One siete: Bet * 5

VI. Bonuses

Winning the Jackpot:

After getting 3 icons in each reel excluding sad faces, the user will then have a chance to win the jackpot. The chance of winning (1/100)

VII. Sound Index

Name Destination
Main background music (Paruparo ng bukid) sounds/background_msc.wav
Out of cash or invalid bet value sounds/bet_no_cash_snd.wav
Bet sound sounds/bet_snd.wav
Reset sound sounds/reset_snd.ogg
Spin/pull lever sound sounds/spin_snd.ogg
Spinning sound sounds/spinning_snd.ogg

VIII. Art / Multimedia Index

Name Image
Arnis Images/arnis.png
Bandana Images/bandana.png
Banyal Images/banyal.png
Camesa de Chino Images/camesa_de_chino.png
Fifty Button Images/fifty_button.png
Hundred Button Images/hundred_button.png
Katipunero Hat Images/katipunero_hat.png
Quit Button Images/quit_button.png
Reset Button Images/reset_button.png
Sad Face Images/sadface.png
Siete Images/siete.png
Spin Button Images/spin_button.png
Ten Button Images/ten_button.png
Tsinelas Images/tsinelas.png
Twenty Button Images/twenty_button.png

IX. Design Notes

Design made at home.

X. Future Features

  1. Add a jackpot win game. Show hundred boxes and the user will choose one. One of the boxes have jackpot.
  2. Sound on/off.
  3. Win sound and lose sound.

slotmachine's People

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.