If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Game Dev: Card Dealer Module+Blackjack 31
8 posts
• Page 1 of 1
Game Dev: Card Dealer Module+Blackjack 31
On most of the New years Eve's in my life, instead of going out and joining
all the 'pissheads' making idiots of themselves, I'd play cards with family or relatives,
usually with all the spare change i collected from that year, and get 'pissed' at home..
It was always "Manilla"(a stripped-deck poker variant), or "Blackjack 31"...
The logic for Manilla was a bit hard first up, so I though i'd practice a bit
with Blackjack 31.
Included in fsm is a card dealer module.
Still working on this card dealer module. I want to try an expand it so
you can quickly create your own custom decks and values.
ATM it is functional, but basic....
Inputs:Reset, Deal Card, Switch Ace value to 1 or 11
Outputs:
card value(score)
card suit
value array
suit array
facevalue array
all the 'pissheads' making idiots of themselves, I'd play cards with family or relatives,
usually with all the spare change i collected from that year, and get 'pissed' at home..
It was always "Manilla"(a stripped-deck poker variant), or "Blackjack 31"...
The logic for Manilla was a bit hard first up, so I though i'd practice a bit
with Blackjack 31.
Included in fsm is a card dealer module.
Still working on this card dealer module. I want to try an expand it so
you can quickly create your own custom decks and values.
ATM it is functional, but basic....
Inputs:Reset, Deal Card, Switch Ace value to 1 or 11
Outputs:
card value(score)
card suit
value array
suit array
facevalue array
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Game Dev: Card Dealer Module+Blackjack 31
Alright .... this is pretty darn cool Billv
I am finding issue with the 'play SOUND' in several of the RUBY modules, so I'm just REM## them out for now.
I'm not much of a card player, and not familiar with this specific game ... but this is something I hadn't expected from FlowStone.
? Is there a way to embed the audio into the schematic ?
I am finding issue with the 'play SOUND' in several of the RUBY modules, so I'm just REM## them out for now.
I'm not much of a card player, and not familiar with this specific game ... but this is something I hadn't expected from FlowStone.
? Is there a way to embed the audio into the schematic ?
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Game Dev: Card Dealer Module+Blackjack 31
Hi RJ,
As you can see in the code, I've used the new 'playsound' feature so it does have sound.
But I'm on XP, and coded default XP sounds in.
I was worried about this, wheather the default XP sounds were included in Vista/7/8..
websearch came up empty, and I neglected to ask the FS community about the sounds in
their C/Windows/Media folders in Vista/7/8..
Is it true RJ..? ,for eg: C:\WINDOWS\Media\chimes.wav exist on your OS?
What OS are you on...
As you can see in the code, I've used the new 'playsound' feature so it does have sound.
But I'm on XP, and coded default XP sounds in.
I was worried about this, wheather the default XP sounds were included in Vista/7/8..
websearch came up empty, and I neglected to ask the FS community about the sounds in
their C/Windows/Media folders in Vista/7/8..
Is it true RJ..? ,for eg: C:\WINDOWS\Media\chimes.wav exist on your OS?
What OS are you on...
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Game Dev: Card Dealer Module+Blackjack 31
billv I've just spend half an hour playing this Very well made... Only one question... How you reset the game?
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Game Dev: Card Dealer Module+Blackjack 31
..
Sorry mate..ATM..dodgy dev style...add something to the code, then delete it.
And the start button, hit me, and stay are all a bit dodgy too. It's not a good setup..
If those triggers become 'out of order'..wham!..user has no control at the right time.
Took me awhile to get that right...kinda waiting for it to come un-stuck....
PS
did you break the bank??
Sorry mate..ATM..dodgy dev style...add something to the code, then delete it.
And the start button, hit me, and stay are all a bit dodgy too. It's not a good setup..
If those triggers become 'out of order'..wham!..user has no control at the right time.
Took me awhile to get that right...kinda waiting for it to come un-stuck....
PS
did you break the bank??
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Game Dev: Card Dealer Module+Blackjack 31
billv wrote:did you break the bank??
well let's say I still have enough to buy myself a train-ticket home
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Game Dev: Card Dealer Module+Blackjack 31
Is it true RJ..? ,for eg: C:\WINDOWS\Media\chimes.wav exist on your OS?
What OS are you on...
Hi Billv,
Running XP-32 here.
I do see the 'chimes' file in that location ... but I wonder ... I'm not using the lastest FS [yet], so I did get the different version warning when loading the schematic.
Basically I was seeing the 'candycane' error around the RUBY module. The error happens from the START, and seems to happen with each button choice selected [I see the SOUND calls in each].
Maybe by me not having the latest FS, the SOUND command is not available ?!? I don't know
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Game Dev: Card Dealer Module+Blackjack 31
Yeh..thats it...playsound came with 3.05.
Using playsound seemed ideal for this sort of thing.
I didn't take into account that a lot of people
are avoiding the 3.05 bugs, and are still on 3.04.
It was just a prototype, so probably wont update it.
3.04 users will have to delete playsound code like you did.
Using playsound seemed ideal for this sort of thing.
I didn't take into account that a lot of people
are avoiding the 3.05 bugs, and are still on 3.04.
It was just a prototype, so probably wont update it.
3.04 users will have to delete playsound code like you did.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 87 guests