Coder Social home page Coder Social logo

karma-slots's Introduction

Karma Slots is a simple slot machine game made in Javascript for HTML5 and canvas. It uses a simple "Reddit" inspired theme.

License Info

The code is (C) 2012 Clint Bellanger. Released under the MIT license.
The art is (C) 2012 Clint Bellanger. Released under CC-BY 3.0.
The sounds are (C) 2012 Brandon Morris. Released under CC-BY 3.0

Art icons inspired by Reddit. http://reddit.com/
Bacon and Narwhal inspired by licenseplate, who has cleared this usage.

Play a live version here:
http://clintbellanger.net/karma/

Note: this is just a game that uses overly simplified logic. Never use this in a slot machine that deals with real money.

karma-slots's People

Contributors

clintbellanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

karma-slots's Issues

[question] How calculate "stopping_distance"?

I see, that is 1 + 2 + 3...+ 31 + 32, but I can not understand how it was calculated. Which values were used for this (reel_positions, symbol_size, max_reel_speed is a 32)?

Thanks

Stop With Spacebar / Click

How hard would it be to add functionality to stop the reels on spacebar? This is a pretty common feature for most online slot machines (and some real ones) and would be awesome.

controlling acceleration and maximum speed

Hi,

I'm currently playing around with the karma slot machine and I tried to lower the spinning speed. After the change, the reels don't seem to trigger a stop at maximum speed. Could it be, that the spinning speed max is tied to another parameter?

Custom amount of credits to bet?

Can you add a function too choose a custom amount of credits one can bet? (instead of 1 per line, like it is now)

Thank you very much.

Canvas Slowing over time.

First of all, my thanks to you for this awesome way of creating a slot like reel, this is a very interesting way of doing it.
There is some issues with the speed and acceleration tweaking, but i seem to be able to find some working combination.
Most annoying is though, when sizing this sample up in image pixel size and canvas size the speed is slowing after each run.
I'm a real beginner here with this HTML/Java stuff, i can't figure out why this is happening.

Greetings,
Alphons

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.