clintbellanger / karma-slots Goto Github PK
View Code? Open in Web Editor NEWSimple HTML5/js/canvas slot machine game
Home Page: http://clintbellanger.net/karma/
Simple HTML5/js/canvas slot machine game
Home Page: http://clintbellanger.net/karma/
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.
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.
How to add two more reels and update calculations.
Thanks
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
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?
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.