Welcome, Guest. Please login or register.
November 25, 2024, 01:55:34 PM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  Game Emulators
| |-+  Homebrew and Custom Game Emulators (Moderator: channelmaniac)
| | |-+  Horse Racing for PE+
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Horse Racing for PE+  (Read 19869 times)
Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« on: July 09, 2009, 08:32:54 PM »

I started a new project for the PE+ platform.  My goal is to create a game similar to the mechanical "Sigma Derby" game.  In that game, players wager on the outcome of a race of 5 horses via a quinella (boxed exacta).

You can move the red arrow via the "Hold 1" button and either insert coins and/or credits to bet on a combination.  Once you are ready to start the race, you press "Deal/Spin" button.

If anyone has any suggestions on gameplay, please leave a comment.  I've only spent a few hours on it so far, but the horses and rail animate etc.  Maybe I'll capture it as video next time I update my progress.

Below is a screenshot of my prototype running in MAME under the PE+ Emulator:

Logged
jay
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 483
Offline Offline

Gender: Male
Posts: 3178


if you cant afford to lose you cant afford to win


« Reply #1 on: July 09, 2009, 08:51:19 PM »

Looks great - you might consider giving the horses different colors or perhaps colored bibs with a number failing that what about a colored stripe.

You might also want to give the game a title that ties into the denomination like QUARTER derby or Nickle Derby.

Are you not missing some combos like 1,3,5
Logged

The only way to beat the casino is to own it
uniman
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 695
Offline Offline

Gender: Male
Posts: 1830



« Reply #2 on: July 09, 2009, 09:11:54 PM »

As a former harness race horse trainer I think that's great.
Maybe you could put a sulky (race bike) with driver behind the horse and make it the first harness racing game.  rotflmao   
Jay I don't think the casino horse racing games had three horse boxes for quilnellas.

Does anybody know if Windsor Casino still has their horse racing game. Had a lot of fun playing that one. It even had little cameras on the track.  rotflmao
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #3 on: July 09, 2009, 10:33:14 PM »

It looks like you're headed in the right direction.

On your paytable you list the exacta (or is it a quinella) bet using a dash and follow it with a colon and the payout (I assume for one unit bet). However, the use of the colon makes it appear at first glance as if the second and third numbers are part of the odds payout. (Note Jay's confusion about missing combinations when, in fact, none are missing.)

Might I suggest something like "1-2 Pays 1:1" or "1-2 Pays 2 for 1" or "1-2 Pays 2 coins". It might also look better if the odds numbers and the bet amount were right-aligned. If you have room, you could try putting the word "Bet" to the left of the wager and to the right of the odds. I would also use a different color to represent each element of the pay table: the combos (e.g, "1-2"), the odds, the word "Bet", if used, and the amount wagered. In addition, I'd probably use white for a 0 bet and green or yellow for a wager so that the combo's that have been wagered upon stand out.

I agree with Jay's suggestions as well. I'd assign colors the horses and would use a catchy name that defines the game. Perhaps the horses' colors could be coordinated with the color(s) used in the combo listings on the pay table.

Have you considered sound? I would add a bell at the start, horse hooves beating during the race, and perhaps crowd cheers at the end, etc.
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« Reply #4 on: July 09, 2009, 11:41:35 PM »

Good comments.  I agree the payout screen is a bit confusing.  I think there should be plenty of room for "Pays" instead of the colon etc.

After I solidify the animation etc, I'll probably give the horses either a different color and/or add the horse number inside the body.  I like the idea of having the paytable reflect the colors too.

My goal for sound is to start the race with the traditional bugle music, and some hooves sounds during the race.  I have to work up some type of conversion from the musical scale to work with the hardware correctly.
Logged
Neonkiss
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 436
Offline Offline

Gender: Male
Posts: 2084



« Reply #5 on: July 09, 2009, 11:51:27 PM »

When you get the sound worked out, Don't forget to add the sound of the starting bell directly followed by the announcer with, "And their Off"
Logged

Nothing brings people together better than a common enemy
343 / 60 brothers lost on that day.
a69mopar
647-402-1977
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 600
Offline Offline

Gender: Male
Posts: 3508



WWW
« Reply #6 on: July 10, 2009, 12:47:32 AM »

Great, great, great!  This could really shape up into an excellent game.  I will be checking back for progress on this one.  I will also check at Caesars Windsor (the new name) to see if it's there, but was there in January and didn't notice it.

Thanks,
Wayne
Logged

         www.GTASLOTS.com      647-402-1977              BALLY S6000 GALLERY
uniman
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 695
Offline Offline

Gender: Male
Posts: 1830



« Reply #7 on: July 10, 2009, 02:28:13 AM »

Great, great, great!  This could really shape up into an excellent game.  I will be checking back for progress on this one.  I will also check at Caesars Windsor (the new name) to see if it's there, but was there in January and didn't notice it.

Thanks,
Wayne
I believe it was upstairs on the right side. Been quite awhile since my last visit.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #8 on: July 10, 2009, 03:17:32 AM »

That's pretty awesome Stol!  Hail
I hope your game comes out well! yes
Logged
knagl
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 642
Offline Offline

Gender: Male
Posts: 5489


Kevin


« Reply #9 on: July 10, 2009, 03:43:35 AM »


Wow, looking great!  Fun stuff!   applause


When you get the sound worked out, Don't forget to add the sound of the starting bell directly followed by the announcer with, "And their they're Off"

Stolistic is a genius when it comes to this stuff, but I don't think even he can make the crummy tone generator of a PE+ do speech.  Smiley
Logged

If you find this site helpful, please consider making a small donation to help defray the cost of hosting and bandwidth.

Please do not PM me for support or "how to" requests -- please post your request in the forum so that everyone may assist you and everyone can benefit from the answer to your question!  Thanks! Smiley
Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« Reply #10 on: July 10, 2009, 02:58:48 PM »

I did some paytable changes and uploaded a video of the animation.

<a href="http://www.youtube.com/v/3IhSct1NOc8&rel=0" target="_blank">http://www.youtube.com/v/3IhSct1NOc8&rel=0</a>
Logged
theDotster
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 219
Offline Offline

Gender: Male
Posts: 208



« Reply #11 on: July 10, 2009, 03:38:12 PM »

I agree with everyone else, this looks excellant.

As you asked for suggestions, could distance markers be added to the rail to indicate how far to go to the finish?

Paul
Logged

When I die, I hope my wife doesn't sell my machines for how much I told her they cost.
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #12 on: July 10, 2009, 03:39:29 PM »

Well, who won?..... Tongue Out

Again, awesome work Stolistic! applause
Logged
tacman
NLG Document, Media Gallery and FAQ Writer
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 446
Offline Offline

Gender: Male
Posts: 1537


Genius in training.


« Reply #13 on: July 10, 2009, 03:42:05 PM »

Very clean looking and impressive! You are always "Wowing" us!  Hail

 Dan (tacman)
Logged

Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« Reply #14 on: July 10, 2009, 06:30:56 PM »

As you asked for suggestions, could distance markers be added to the rail to indicate how far to go to the finish?


Great idea.  It now counts down the furlongs as the horses run via distance poles.  The finish line is denoted slightly different than the rest.  Once the finish line is exposed the rail no longer scrolls and the horses dash to end.


Four furlongs remaining and finish line:
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #15 on: July 10, 2009, 07:58:01 PM »

Awesome Jim! It's looking better and better.  Hail Hail
Dotster, suggesting the furlong markers was a good idea.  propeller
I still think that the odds and bet amounts would look better if right justified, but that's just me.. Tongue Out
I handed out some more K+s  stir the pot / get cooking bust gut laughing

Well, who won?..... Tongue Out

YEA!! Don't leave us hanging like that!  frying pan hissy fit  rotflmao rotflmao rotflmao
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« Reply #16 on: July 18, 2009, 11:23:19 AM »

Well, I think I have the sound translated correctly now.

The system uses a AY-3-891x chip to produce sound.  My main concern was to come up with a way to convert the standard musical scale into the proper values for this chip.  In order to do that you need to know the clock speed of the chip and the desired frequency of the note.  The clock speed of the PE+ sound chip is the main clock (20 MHz) divided by 12 or approximately 1.666 MHz.  The output frequency of the sound chip is this input frequency further divided by 16 (or approximately 104166.666 Hz).

On a piano, C4 (middle C) has a frequency of 261.626 Hz.  So if you want to output a C4 note, you must pass the sound chip a pitch value of 104166.666 / 261.626 which equal 398.151.  Since the chip does not support fractional values, you must use a value of 398.

Applying this concept up and down the scale gives you a table of values in which you can use to produce melodies.  So with that figured out, I just needed to look up the sheet music for the start of a race and apply the proper delays between notes.

Here is a link to a sample of the sound here:
http://www.stolistic.com/slots/horse.wav
Logged
jay
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 483
Offline Offline

Gender: Male
Posts: 3178


if you cant afford to lose you cant afford to win


« Reply #17 on: July 18, 2009, 12:03:21 PM »

So very cool. Much better than Tick Tick Tick as it deals cards or the Beep Beep Beep as I select cards to hold.
It would be neat if you could digitize "And their off....."
Logged

The only way to beat the casino is to own it
tacman
NLG Document, Media Gallery and FAQ Writer
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 446
Offline Offline

Gender: Male
Posts: 1537


Genius in training.


« Reply #18 on: July 18, 2009, 01:09:37 PM »

I agree, that is awesome. Everytime I read your posts Stolistic, I shake my head in amazement.

 Dan (tacman)
Logged

westec1
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 36
Offline Offline

Gender: Male
Posts: 263



« Reply #19 on: July 18, 2009, 03:01:54 PM »

Very cool applause applause

Thanks for all the info, keep up the great work,K+ to you yes
Logged

Wes propeller
theDotster
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 219
Offline Offline

Gender: Male
Posts: 208



« Reply #20 on: July 18, 2009, 03:32:52 PM »

What words are needed.

 Hail Hail Hail Hail Hail

I am impressed enought with the sounds, but the explaination of how you got to the end result actually made sense to me. Superb. Thank you.

And can we buy this when it's finished?
Logged

When I die, I hope my wife doesn't sell my machines for how much I told her they cost.
knagl
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 642
Offline Offline

Gender: Male
Posts: 5489


Kevin


« Reply #21 on: July 19, 2009, 10:03:13 PM »

Here is a link to a sample of the sound

Ha!  I love it!  Great stuff.
Logged

If you find this site helpful, please consider making a small donation to help defray the cost of hosting and bandwidth.

Please do not PM me for support or "how to" requests -- please post your request in the forum so that everyone may assist you and everyone can benefit from the answer to your question!  Thanks! Smiley
Rep
Mr. 5 of a kind
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 18
Offline Offline

Gender: Male
Posts: 124



« Reply #22 on: July 20, 2009, 12:11:59 PM »

How cool is that?!?! AWESOME! Cheesy
Logged
Stolistic
Contributing Gold NLG Member
NLG Member 101 to 500 Post
*

Total Karma Storms: 188
Offline Offline

Posts: 176


Resistance is futile. You will be emulated.


« Reply #23 on: July 29, 2009, 08:42:51 PM »

Here is some interesting tidbits on Exactas and how to calculate the fair odds for any given horse combination:

Let's take the following race as an example:

Horse #OddsChance of First Place
15:11 in 6 (1/6)
23:11 in 4 (1/4)
31:11 in 2 (1/2)
48:11 in 9 (1/9)
520:11 in 21 (1/21)

This example assumes the odds also reflect the actual chance of finishing in first place.
In a real horse race, hunches and emotions can skew the odds greatly from their actual chances.

Starting with the first possible combination, with horse #1 coming in first and horse #2 coming in second or denoted 1-2, we do the following:

The chance of horse #1 coming is first is 1/6.
The chance of horse #2 coming in second, is basically the chance of him coming in first against the remaining field.
Chance of horse #2 coming in first against the remaining field = chance of horse #2 / (1 - chance of horse #1)
(1/4) / (1 - (1/6)) = 0.3

Chance of both horses finishing correctly = chance of horse #1 * chance of horse #2 coming in first against the remaining field
(1/6) * 0.3 = 0.05

To express in Odds, divide into 1
1 / 0.05 = 20

So the exacta 1-2 would pay $20 on a $1 wager.

Now let's do that in reverse.  Having horse #2 come in first, and horse #1 come in second.
(1/6) / (1 - (1/4)) = 0.2222
(1/4) * 0.2222 = .05555
1 / .05555 = 18

Meaning the exacta 2-1 would pay $18 on a $1 wager.  A lower payout makes sense.  The second exacta has a better horse finishing first.

In the Sigma Derby, you can only bet on a boxed exacta, meaning either 1-2 or 2-1 at the same time.

So we will need to take the average of the two payouts to determine the correct amount.  (20 + 18) / 2 = $19.

On the site Wizard of Odds (http://wizardofodds.com/derby) they list an example race with payouts.
Using the above formulas and some educated guesses at the starting odds for the horse, I compared their system with my calculations.
Remember the lowest payout will be 2 and the maximum will be 200.

HorseEstimated Odds
16.5 (13/2)
2.25 (1/4)
35.1 (5 1/10)
428.2 (28 1/5)
52.25 (2 1/4)

ComboGame PaysCalculated Average
1-255
1-33938.95 (39)
1-4200200.65 (200)
1-51919
2-343.95 (4)
2-42021.275 (21)
2-521.8125 (2)
3-4160160.47 (160)
3-51515.15 (15)
4-57978.675 (79)

As you can see, only one value (2-4 combo) was different from the real game and it was off by only 1.

So now I have a method to generate realistic payouts based on the horses odds.

Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #24 on: July 30, 2009, 02:48:03 AM »

It's also interesting to know that Sigma used the standard method of calculating these payouts. Is the house edge then built into the single odds used for each individual horse winning the race?
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  


If you find this site helpful, Please Consider Making a small donation to help defray the cost of hosting and bandwidth.



Newlifegames.com    Newlifegames.net    Newlifegames.org
   New Life Games    NewLifeGames  NLG  We Bring new Life to old Games    1-888-NLG-SLOTS
Are all Copyright and Trademarks of New Life Games LLC 1992 - 2021


FAIR USE NOTICE:

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml.

If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.

NewLifeGames.net Web-Site is optimized for use with Fire-Fox and a minimum screen resolution of 1280x768 pixels.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Loon Designed by Mystica
Updated by Runic Warrior
Page created in 0.17 seconds with 20 queries.