ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Blackjack

Here you can share your "work in progress" with your fellow Drifters.

Blackjack

Postby Aguadiablo2 » Wed Jan 15, 2020 12:23 pm

I'm in the middle of creating a simple blackjack game.

Players can enter bet, deal, and stand as commands to play the game.

However, at this time, it's a little buggy and needs further tweaks to make sure the game plays correctly.
Attachments
blackjack2.taf
(44.81 KiB) Downloaded 13 times
Aguadiablo2
 
Posts: 8
Joined: Tue Dec 31, 2019 12:42 pm

Re: Blackjack

Postby Lazzah » Wed Jan 15, 2020 5:59 pm

Aguadiablo2 wrote:I'm in the middle of creating a simple blackjack game.

Players can enter bet, deal, and stand as commands to play the game.

However, at this time, it's a little buggy and needs further tweaks to make sure the game plays correctly.

I'll say! Have you had this playtested? See image for the responses when I typed ENTER BET and GET CARDS.

Cards.JPG
Cards.JPG (121.07 KiB) Viewed 280 times


It might be a good idea for the game to respond to HELP with a list of the commands the game will understand, and also a set of rules would be good for those of us who have never played Blackjack... i.e. me!
The Axe of Kolt, The Spectre of Castle Coris, The Fortress of Fear, Die Feuerfaust, The Lost Children, Run, Bronwynn, Run, The Call of the Shaman, The Lost Labyrinth of Lazaitch, Magnetic Moon, Starship Quest, Revenge of the Space Pirates
User avatar
Lazzah
Moderator
 
Posts: 2291
Joined: Thu Mar 31, 2011 4:54 am
Location: Dagenham, Essex
Points: 65

Re: Blackjack

Postby Aguadiablo2 » Sun Jan 19, 2020 5:29 pm

Yeah, I see the image. A help command and everything else would come later. At the minute I can't even get blackjack to work properly.

At the minute I have system commands triggering when I don't want them to, and I can't figure out why.

Also, my variables won't reset back to 0 when they're supposed to.

When I first uploaded this I didn't realise that everything was such a mess.

Although I have fixed some issues it still doesn't work properly yet.

But players should enter bet followed by an amount 1, 5, 10, 25, 50, or 100.

Then enter deal to receive two cards.

Then they can enter either hit or stand, to either get another card or end their turn.

However, once the player enters stand that's when things go wrong and the dealer draws too many cards.
Attachments
blackjack2.taf
(45.1 KiB) Downloaded 12 times
Aguadiablo2
 
Posts: 8
Joined: Tue Dec 31, 2019 12:42 pm


Return to W.I.P.

Who is online

Users browsing this forum: No registered users and 3 guests