Communications Network
Vast Empire  -  New Posts  -  Search  -  Statistics  -  Login 
 
ComNet > Engineering Corps > Archived Engineering Corps ComNet > Idle Hands - Slot Machines
 
 
 
Author
Topic:  Idle Hands - Slot Machines
Kiption
ComNet Novice
 
Kiption
 
[VE-ARMY] Gunnery Sergeant
[VE-VEEC] Executive Officer
 
Post Number:  85
Total Posts:  152
Joined:  Jan 2002
Status:  Offline
  Idle Hands - Slot Machines
July 19, 2005 12:33:28 AM    View the profile of Kiption 
SlotMachines -

basically revolves a power random number generator.  Creates a random number, something in the hundreds of millions.

This number is then divided by the number of virtual slots that are found on the reels.  The remainder is taken, and used to find which virtual slot is displayed. 

In reality on each of the reels there is probably only about 21 real slots.  The virtual slot is a number, usually 64, 128, or 512.  To find the real slot that this virtual slot relates to, a table is consulted.  These tables are actually different from reel to reel (even on the same machines).  This is where the fine tuning of the slot machine will comes into play.  The numbers don't have to line up in any order for the virtual reels. 

One article found said that the Nevada gaming commision has rules about how many times more on slot can be accessed compared to the slots next to it.  To quote:

So if a jackpot symbol were weighted by 1 and both bordering blanks were weighted by 6 then there would be 12 near misses for every one time the reel stopped on the jackpot symbol. This would be the maximum allowed near miss effect.

So I will attempt to follow those rules as well. 

This is supposed to be a large money winner for the casinos mostly, since the odds are always in the houses favor.  Coming up with interesting games that will bring people to play these will be required, unfortunately if people are smart they will skip the slotmachines and will instead play something that they have a chance of winning money on. 

Can probably find ways to get the images to scroll quickly like they do on a slotmachine, and then slow down as they click into place.  That will require a bit more animation skills in javascript, and will have to see how it turns out looking. 

I think that's enough for now.
 
-----------------------
Just another pretty face....
Verastinian Republic - Almighty Dictator

"If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. You can always blame God. You didn't make it so complex yourself. But if your program doesn't work, there is no one to hide behind. You cannot hide behind an obstinate nature. If it doesn't work, you've messed up." -- Dijkstra
Talon
ComNet Overlord
 
Talon
 
[VE-ARMY] Surface Marshal
[VE-DJO] Dark Jeedai Master
[VE-VEHC] Surface Marshal
 
Post Number:  1962
Total Posts:  2417
Joined:  Feb 2000
Status:  Offline
  RE: Idle Hands - Slot Machines
July 19, 2005 12:42:20 AM    View the profile of Talon 
Or replace with a single gif that just has them blur by and they suddenly stop.. Lazy way out.
 
-----------------------
OO/SM Sierra "Talon" Taurus/HC-3/VEHC/VE[BC][IOC][LoC][SoS][BM][CDS][MSM][MoH]
GM-SL/DJM "Nightblades"/DC-1/Elite Griffen Sect/VSD-II Griffen/VEDJ/VE[IOC][OQD][WoS 2nd Class][EoP][SoY][SCx2]
-----------------------
SCAP/COM Vincent "Claw" Taurus/ISD Nemesis/Offensive Fleet/VEN/VE[=*A*=][=*SA*=][LoM][IOC][IC2]
CEO Vincent "Claw" Taurus/ECHC-1/Endoven/Dome 8473/VEEC/VE
-----------------------
Verastinian Republic - Minster of Antiquities (Fossil Technology)
Angel
ComNet Expert
 
Angel
 
[VE-ARMY] Senior Sergeant
[VE-DJO] Dark Jedi Knight
 
Post Number:  1905
Total Posts:  3342
Joined:  Jul 2003
Status:  Offline
  RE: Idle Hands - Slot Machines
July 19, 2005 4:53:42 PM    View the profile of Angel 
Can you randomize when the .gif stops?
 
-----------------------
Senior Sergeant Jikkyo "Angel" Nimiichi
=[Arrogant Elitist]=
AS-2/ASL/SSG Jikkyo "Angel" Nimiichi/Iron Horse Squad/WildCard/Phoenix/Dragon/ Osiris/Army/VE [LoR] [RoM] [BC] [CDS] [WM] [GRoM] {BoA}
------------------------
The Angel of Death
CM/DJK Jikkyo "Angel" Nimiichi/Eagle 1-1/Sith/VEDJ/VE/Lopen [VP:1]
------------------------
He who sheds man's blood, by man shall his blood be shed. The three shall spread their blackened wings and be the vengeful striking hammer of God..
Kiption
ComNet Novice
 
Kiption
 
[VE-ARMY] Gunnery Sergeant
[VE-VEEC] Executive Officer
 
Post Number:  86
Total Posts:  152
Joined:  Jan 2002
Status:  Offline
  RE: Idle Hands - Slot Machines
July 19, 2005 8:17:16 PM    View the profile of Kiption 
I can put stops in the gif, so that it simulates reels.  Shouldn't be too hard.  Only downside is that the entire gif must be loaded at start, and then the wrap around thing, (which is just a logic piece).
 
-----------------------
Just another pretty face....
Verastinian Republic - Almighty Dictator

"If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. You can always blame God. You didn't make it so complex yourself. But if your program doesn't work, there is no one to hide behind. You cannot hide behind an obstinate nature. If it doesn't work, you've messed up." -- Dijkstra
Talon
ComNet Overlord
 
Talon
 
[VE-ARMY] Surface Marshal
[VE-DJO] Dark Jeedai Master
[VE-VEHC] Surface Marshal
 
Post Number:  1966
Total Posts:  2417
Joined:  Feb 2000
Status:  Offline
  RE: Idle Hands - Slot Machines
July 19, 2005 11:37:43 PM    View the profile of Talon 
You can load the images into the page height="0" width="0" so they're already there.
 
-----------------------
OO/SM Sierra "Talon" Taurus/HC-3/VEHC/VE[BC][IOC][LoC][SoS][BM][CDS][MSM][MoH]
GM-SL/DJM "Nightblades"/DC-1/Elite Griffen Sect/VSD-II Griffen/VEDJ/VE[IOC][OQD][WoS 2nd Class][EoP][SoY][SCx2]
-----------------------
SCAP/COM Vincent "Claw" Taurus/ISD Nemesis/Offensive Fleet/VEN/VE[=*A*=][=*SA*=][LoM][IOC][IC2]
CEO Vincent "Claw" Taurus/ECHC-1/Endoven/Dome 8473/VEEC/VE
-----------------------
Verastinian Republic - Minster of Antiquities (Fossil Technology)
Kiption
ComNet Novice
 
Kiption
 
[VE-ARMY] Gunnery Sergeant
[VE-VEEC] Executive Officer
 
Post Number:  87
Total Posts:  152
Joined:  Jan 2002
Status:  Offline
  RE: Idle Hands - Slot Machines
July 21, 2005 12:25:51 AM    View the profile of Kiption 
I was thinking more along the lines of something like that, except why do that when i can use hidden elements.

then just go through the list of images and there is a value for each image called "completed" that states wether the image is loaded or not.  That way a progress bar can be drawn across the screen.

Anyways, that's for later since I still have to write the hard stuff.
 
-----------------------
Just another pretty face....
Verastinian Republic - Almighty Dictator

"If in physics there's something you don't understand, you can always hide behind the uncharted depths of nature. You can always blame God. You didn't make it so complex yourself. But if your program doesn't work, there is no one to hide behind. You cannot hide behind an obstinate nature. If it doesn't work, you've messed up." -- Dijkstra
ComNet > Engineering Corps > Archived Engineering Corps ComNet > Idle Hands - Slot Machines  |  New Posts    
 

All times are CST. The time now is 2:24:21 PM
Comnet Jump:

Current Online Members - 0  |  Guests - 150  |  Bots - 1
 
< Contact Us - The Vast Empire >
 
Powered by ComNet Version 7.2
Copyright © 1998-2024 The Imperial Network
 
This page was generated in 1.123 seconds.