Re: [Audyssey] Blackjack Notes

2010-11-25 Thread Charles Rivard
To correct the ace issue, can you set the game to reduce the value of the 
drawn aces from 11 to 1 if the total exceeds 21?  Would it be sort of a If 
hand total equals 22 or greater, ace value equals 1, else ace value equals 
11?  I know this isn't Python, but am I on or near the right track?


---
Shepherds are the best beasts!
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: Gamers Discussion list gamers@audyssey.org
Sent: Wednesday, November 24, 2010 10:56 PM
Subject: Re: [Audyssey] Blackjack Notes



Hi Hayden,

Thanks for the bug reports. Yeah, I thought the dealer should stand on
17, but wasn't sure so I set it to 15. I'll correct that in v1.1. As
for not reducing the first ace that's something of a technical design
issue. I didn't want to make the code too hard for beginners so cut
corners.  Although, i should be able to correct that pretty easy.

On 11/24/10, Hayden Presley hdpres...@hotmail.com wrote:

Hi Thomas,

I just played, and three things strike me. Firstly, you do know that the
dealer hits 16 and stands on 17? Also, the aces seem to be fixed.the 
first
one is eleven, all the rest are one, and the first one never converts. 
Also,

it never notes it when you bust, you just keep on hitting.



Best Regards,

Hayden


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to 
gamers-unsubscr...@audyssey.org.

You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the 
list,
please send E-mail to gamers-ow...@audyssey.org. 



---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


Re: [Audyssey] Blackjack Notes

2010-11-25 Thread Thomas Ward
Hi Charles,

That's basically the concept, and the game already does this. The
problem is in the game that it doesn't reduce all the aces that way.
So I'm going to add the ability to keep track of the number of aces in
the game so it will reduce all of them from 11 to 1 at the same time.

if playerHand  21 and playerAces  0:
playerHand = playerHand - (playerAces * 10)
#End if


Make sense? It is a simple matter to fix. Just keep track of the
number of aces in the player's hand and reduce by 10 times the number
of aces.


On 11/25/10, Charles Rivard woofer...@sbcglobal.net wrote:
 To correct the ace issue, can you set the game to reduce the value of the
 drawn aces from 11 to 1 if the total exceeds 21?  Would it be sort of a If
 hand total equals 22 or greater, ace value equals 1, else ace value equals
 11?  I know this isn't Python, but am I on or near the right track?

 ---
 Shepherds are the best beasts!

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


Re: [Audyssey] Blackjack Notes

2010-11-25 Thread Charles Rivard

It does.  Thanks.

---
Shepherds are the best beasts!
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: Gamers Discussion list gamers@audyssey.org
Sent: Thursday, November 25, 2010 10:12 AM
Subject: Re: [Audyssey] Blackjack Notes



Hi Charles,

That's basically the concept, and the game already does this. The
problem is in the game that it doesn't reduce all the aces that way.
So I'm going to add the ability to keep track of the number of aces in
the game so it will reduce all of them from 11 to 1 at the same time.

   if playerHand  21 and playerAces  0:
   playerHand = playerHand - (playerAces * 10)
   #End if


Make sense? It is a simple matter to fix. Just keep track of the
number of aces in the player's hand and reduce by 10 times the number
of aces.


On 11/25/10, Charles Rivard woofer...@sbcglobal.net wrote:

To correct the ace issue, can you set the game to reduce the value of the
drawn aces from 11 to 1 if the total exceeds 21?  Would it be sort of a 
If
hand total equals 22 or greater, ace value equals 1, else ace value 
equals

11?  I know this isn't Python, but am I on or near the right track?

---
Shepherds are the best beasts!


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to 
gamers-unsubscr...@audyssey.org.

You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the 
list,
please send E-mail to gamers-ow...@audyssey.org. 



---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


Re: [Audyssey] Blackjack Notes

2010-11-24 Thread Charles Rivard
I'll bet that these are some refinements that we might just be able to make 
on our own, once we learn how to work on it, then do so.  (grin)


---
Shepherds are the best beasts!
- Original Message - 
From: Hayden Presley hdpres...@hotmail.com

To: 'Gamers Discussion list' gamers@audyssey.org
Sent: Wednesday, November 24, 2010 9:00 PM
Subject: [Audyssey] Blackjack Notes



Hi Thomas,

I just played, and three things strike me. Firstly, you do know that the
dealer hits 16 and stands on 17? Also, the aces seem to be fixed.the first
one is eleven, all the rest are one, and the first one never converts. 
Also,

it never notes it when you bust, you just keep on hitting.



Best Regards,

Hayden



---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to 
gamers-unsubscr...@audyssey.org.

You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the 
list,
please send E-mail to gamers-ow...@audyssey.org. 



---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


Re: [Audyssey] Blackjack Notes

2010-11-24 Thread Thomas Ward
Hi Hayden,

Thanks for the bug reports. Yeah, I thought the dealer should stand on
17, but wasn't sure so I set it to 15. I'll correct that in v1.1. As
for not reducing the first ace that's something of a technical design
issue. I didn't want to make the code too hard for beginners so cut
corners.  Although, i should be able to correct that pretty easy.

On 11/24/10, Hayden Presley hdpres...@hotmail.com wrote:
 Hi Thomas,

 I just played, and three things strike me. Firstly, you do know that the
 dealer hits 16 and stands on 17? Also, the aces seem to be fixed.the first
 one is eleven, all the rest are one, and the first one never converts. Also,
 it never notes it when you bust, you just keep on hitting.



 Best Regards,

 Hayden

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.