Z80-21 Yet Another "BlackJack"

General games-related topics
Post Reply
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

The ROM of the hell... Moogy !

Anachronic pagan !
The FAST mode will make you blind...



:lol: :lol: :lol:
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: Z80-21 Yet Another "BlackJack"

Post by Moggy »

Not FAST mode Xav I use the double speed BASIC ROM on my 81's. Like it says it runs the BASIC at double speed in slow mode so FAST not needed!

PS Who the hell is MOOGY?
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

Launch the cows!
Launch the cows!


Goomy is an heretic !!!


:lol:
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
sanello
Posts: 100
Joined: Sat Jul 23, 2022 9:26 pm

Re: Z80-21 Yet Another "BlackJack"

Post by sanello »

@XavSnap
Here is the answer to your dealer face down (hole) card question.
The hidden card is not reused!!

Some rules about the dealers hole card.

1.) The dealer hole card is the one that stays face down until it is the dealer's turn to play. It gets turned over as soon as his turn starts. This aspect is really the hole point of the game.

2.) A 10, King, Queen, Jack are all valued at 10. If the dealer's face up card is a 10, the dealer will look at his hole card. If he gets an Ace then he has a Natural Blackjack and immediately turns it over. All players then lose and play stops then. If a player happens to also have a Natural Blackjack it is a Push which means it is a draw and no money is lost.

3.) If the dealer's face up card is an ace, the players get to decide if they want to place an additional second bet called insurance. This bet is half the original bet. The dealer then peeks at his hole card. If it is a 10 value then the players lose their original bets again but the insurance bets will win. If it is not a 10 then the insurance betters lose the insurance bet and game play continues. The dealer does not show his hole card until the player's turns are over unless he has a natural blackjack where the players lose their original bets but win insurance if they did that.

Get it?

G is there to remember what the face down card is so it can be shown later. Play my original code after reading this and it should make sense. it is still up top.
-sanello
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

Thanks you sanello, the mysterious "insurance" is clear.

;)
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

Just one question,
Is there a "no limits" rule in the Blackjack ?
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
sanello
Posts: 100
Joined: Sat Jul 23, 2022 9:26 pm

Re: Z80-21 Yet Another "BlackJack"

Post by sanello »

Do you mean no limit in betting? If you find a casino doing that, bring a wheel barrel of cash and quit your job and stay there playing day and night. I'll write out why in my next post. Read my mistake first while I type that answer.

I found another error. It is mine of course.

referencing my original code, line 718 and 765 should be

718 IF W<B+BC THEN PRINT AT 7.6;"HIT, STAY OR DOUBLE H/S/D"

765 IF W>B+BC THEN GOTO 770

They should not be <= or >= because you can double down if they are equal.

About doubling down so you know. Double down (D) is what you can do on your first hit. It doubles your original bet and you get one and only one hit.

You see why I need to put the rules somewhere? :D

There are many rule sites. Can't read French, but here is an English one
https://www.liveabout.com/how-to-play-b ... your%20bet.
-sanello
User avatar
sanello
Posts: 100
Joined: Sat Jul 23, 2022 9:26 pm

Re: Z80-21 Yet Another "BlackJack"

Post by sanello »

@XavSnap

Playing at a table with no limit.

1st hand: let us bet $100. Let's say you lose....
2nd hand: Now bet $200. You lose again...
3rd hand:$400 ...lose
4th hand: $800 ...lose.
5th hand: $1600 and you win! That means you get $1600 back. 100+200+400+800=$1500 You just made $100!
6th hand: start over, bet $100 dollars etc.etc
and then sometimes you'll get a blackjack and make even more

Casino's wouldn't last long without a limit.
-sanello
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

Many Thanks sanello,

I will have a look to it (code and website) to be able to win more money...
;)
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Z80-21 Yet Another "BlackJack"

Post by XavSnap »

718 IF W<B+BC THEN PRINT AT 7.6;"HIT, STAY OR DOUBLE H/S/D"
Original code: (here)

Code: Select all

   718 IF W>=B+BC THEN PRINT AT 7,6;"HIT,STAY OR DOUBLE? H/S/D"
   719 IF W<B+BC THEN PRINT AT 7,6;"HIT OR STAY? H/S"
   720 INPUT H$
   730 PRINT AT 7,6;"                         "
   740 IF H$="S" THEN GOTO 3000
   750 IF H$="H" THEN GOTO 770
   
shold be (right?)

Code: Select all

   718 IF W>B+BC THEN PRINT AT 7,6;"HIT,STAY OR DOUBLE? H/S/D"
   719 IF W<B+BC THEN PRINT AT 7,6;"HIT OR STAY? H/S"
   720 INPUT H$
   730 PRINT AT 7,6;"                         "
   740 IF H$="S" THEN GOTO 3000
   750 IF H$="H" THEN GOTO 770
   
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Post Reply