Re: [Audyssey] USA Blackjack 1.0 Released!

2011-01-30 Thread NIcol
HI Rynhardt
I went to the website you gave, but it's a large website and I am lost.
http://pys60.sourceforge.net
I do not know where to go to get the pythan interpretor for synbian devices
on that website.
I clicked on this link:
Symbian was the first platform specifically developed for smartphones, a
great starting point for developers is the Symbian source
I get a 404 not found.
Yours and others help is much appreciated  as I would very much like to play
USA blackjack on my mobile.

From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Rynhardt Kruger
Sent: 27 November 2010 02:46 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi,

Python for s60 will run on most if not all s60 3rd devices, including the
E66. The current version is python for s60
2.0 which is python 2.5 ported to symbian. If you install the interpreter as
well as the script shell, you should be
able to play blackjack with may be a little tweaking. I imagine it would
also be possible for someone to write a small
GUI for the phone to put on top of the blackjack game.
The python for s60 homepage is at:

http://pys60.sourceforge.net

Take care,

Rynhardt

* Thomas Ward thomasward1...@gmail.com [101127 14:32]:
 Hi Nicol,
 I know that some older Nokia phones did have a Python interpreter
 installed, but I don't know if the E66 specifically has one installed.
 If it does the game will run. If not I can  not do much about that as
 it is up to Nokia to maintain the Python interpreter for their phone.
 So I'd ask someone from Nokia if the E66 has a Python interpreter
 installed or available for that particular phone.
 Cheers!
 On 11/25/10, NIcol nicoljaco...@telkomsa.net wrote:
  Hi Tom
  Thanks, I will try out the game.
  Can this game work on synbian phones like the nokia  e66?
  If not, are you planning to develop a synbian version?


---
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/gamers@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] USA Blackjack 1.0 Released!

2010-11-29 Thread NIcol
Hi Tom
Thanks for the explanation.
Yeah, I do know a little bit about variables from what I read in a jaws
scripting tutorial.
In a jaws script, if you want to declare variables you would start with the
word var on its own line at the beginning of a script.
Then for  an integer variable you would write the letters int and  a space
and then give any word as a  name for the variable, as long as it  starts
with the word int.
For example 
Int column
For a text string variable  you would write for example:
str box
If you are specifying more than 1 variable, each variable except the last
one, must have a comma at the end.
then to declare a variable you would write for instance:
let column = 1
or
let box = hello world
then to use the say string or type string  function, instead of writing the
strings in quotes you can just put for example:
saystring box ()  
Does it also  work like that in game programming? 

-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: 28 November 2010 11:34 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Nicol,

Okay? Well, I can say right off that creating Algebra formulas is a
key part of programming. A formula like
p = 2l+2w
would calculate the perimitor of a square or rectangle. For example,
if we are getting into graphics programming an indepth knowledge of
basic geometry is essentual in order to render the graphics on screen
properly using those formulas.

Anyway, another key concept that carries over is variables which was
definitely covered in my Algebra class. In the formula
p = 2l+2w
the letters p, l, and w are variables because we don't know what
numbers/values they contain yet. They are just substitutions or place
holders so to speak. Now, if we assume l is 10 and w is 5 we now get a
rectangle 10 units long by 5 units wide. We can now do the formula by
calculating 2 times l plus 2 times w. After we work the formula we
find out that p, the perimitor,  is 30.

The point I want to get at here is that in any type of programming we
use variables to hold values of a keyboard command, numbers, strings,
whatever until they are needed. If we don't know what a certain value
is we can work a formula to find that out. Understanding variables,
therefore, is critical to even beginning to think about programming,
because variables are used to store information until it is needed by
the program, or use to substitute a value that we don't know yet.
That's why I'm saying that at least high school Algebra is pretty much
essential to beginning programming.

When it comes to game programming it is more so. You have all kinds of
formulas such as how to calculate the distance an object has traveled
in a certain amount of time, calculating where the objects next
location on the grid is, etc. There are hundreds of calculations that
goes into any complex game and it requires some kind of familiarity
with those concepts before beginning.




---
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] USA Blackjack 1.0 Released!

2010-11-29 Thread Hayden Presley
Hi Nicol,
Nok, not really. JAWS scripting is a little different. Plus we  don't know
what  language you're referringto when you say game programming.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of NIcol
Sent: Monday, November 29, 2010 5:09 AM
To: 'Gamers Discussion list'
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Tom
Thanks for the explanation.
Yeah, I do know a little bit about variables from what I read in a jaws
scripting tutorial.
In a jaws script, if you want to declare variables you would start with the
word var on its own line at the beginning of a script.
Then for  an integer variable you would write the letters int and  a space
and then give any word as a  name for the variable, as long as it  starts
with the word int.
For example 
Int column
For a text string variable  you would write for example:
str box
If you are specifying more than 1 variable, each variable except the last
one, must have a comma at the end.
then to declare a variable you would write for instance:
let column = 1
or
let box = hello world
then to use the say string or type string  function, instead of writing the
strings in quotes you can just put for example:
saystring box ()  
Does it also  work like that in game programming? 

-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: 28 November 2010 11:34 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Nicol,

Okay? Well, I can say right off that creating Algebra formulas is a
key part of programming. A formula like
p = 2l+2w
would calculate the perimitor of a square or rectangle. For example,
if we are getting into graphics programming an indepth knowledge of
basic geometry is essentual in order to render the graphics on screen
properly using those formulas.

Anyway, another key concept that carries over is variables which was
definitely covered in my Algebra class. In the formula
p = 2l+2w
the letters p, l, and w are variables because we don't know what
numbers/values they contain yet. They are just substitutions or place
holders so to speak. Now, if we assume l is 10 and w is 5 we now get a
rectangle 10 units long by 5 units wide. We can now do the formula by
calculating 2 times l plus 2 times w. After we work the formula we
find out that p, the perimitor,  is 30.

The point I want to get at here is that in any type of programming we
use variables to hold values of a keyboard command, numbers, strings,
whatever until they are needed. If we don't know what a certain value
is we can work a formula to find that out. Understanding variables,
therefore, is critical to even beginning to think about programming,
because variables are used to store information until it is needed by
the program, or use to substitute a value that we don't know yet.
That's why I'm saying that at least high school Algebra is pretty much
essential to beginning programming.

When it comes to game programming it is more so. You have all kinds of
formulas such as how to calculate the distance an object has traveled
in a certain amount of time, calculating where the objects next
location on the grid is, etc. There are hundreds of calculations that
goes into any complex game and it requires some kind of familiarity
with those concepts before beginning.




---
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] USA Blackjack 1.0 Released!

2010-11-29 Thread Thomas Ward
Hi Nicol,

Basically, yes. However, every programming language has its own unique
way of declaring and managing variables. What I'm basically saying
that every programming language has different rules how you declare
variables, but what you wrote is the basic concept. For example, in
C++ to create an integer variable you might type
int number = 1;
which would create a new integer number variable and set its value to
1. In Visual basic .NET you might do something like
Private number As Integer = 1
which would do the same thing as above, but as you can tell Visual
Basics method of declaring a new variable is much more verbose.
However, regardless of how you create the variable they all basically
work the same. To reuse one of your own examples I might asign a
message string to a variable called msg like this
msg As String = Hello World!
and later pass that variable to the Sapi Speak function like
sapi.Speak(msg, 0, 0)
and of course Sapi would speak Hellow world alloud because that is
the string of text msg holds. A more real world answer of using
variables is something like this.

Sub AddNumbers(x As Integer, y As Integer)
result As Integer = x+y
textbox.Text = result
End Sub

In the sample VB .NET code above I created a simple Sub that adds two
numbers together. Since we don't know what numbers are required we
have substituted them with x and y variables. Assuming this is a
calculator program the person would enter this data which would get
stored by x and y, and then the calculation can be performed. Once
calculation completes it prints it to a simple textbox on screen.

HTH


On 11/29/10, NIcol nicoljaco...@telkomsa.net wrote:
 Hi Tom
 Thanks for the explanation.
 Yeah, I do know a little bit about variables from what I read in a jaws
 scripting tutorial.
 In a jaws script, if you want to declare variables you would start with the
 word var on its own line at the beginning of a script.
 Then for  an integer variable you would write the letters int and  a space
 and then give any word as a  name for the variable, as long as it  starts
 with the word int.
 For example
 Int column
 For a text string variable  you would write for example:
 str box
 If you are specifying more than 1 variable, each variable except the last
 one, must have a comma at the end.
 then to declare a variable you would write for instance:
 let column = 1
 or
 let box = hello world
 then to use the say string or type string  function, instead of writing the
 strings in quotes you can just put for example:
 saystring box ()
 Does it also  work like that in game programming?


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread NIcol
Hi Tom
On 28 november at 12:48 a.m. you wrote:
For example, a lot of the concepts and terminology in programming such
as variables, integers, floats, arrays, etc are taken right out of
your high school Algebra textbook. Sheesh, I learned about variables,
arrays, floating point numbers, etc all by the ninth grade. 
You made a very interesting point.
I never knew before that a lot of  programming concepts comes from the grade
9 algebra. I also did algebra in grade 9 but we were never taught variables,
integers, floats, and  arrays.
 The only algebra we did was called formulas.
For example, our formulas in the math class would look something like this:
5[6 times 8]
This formula means  that the sum inside the bracket is calculated and then
the answer is multiplied with the figure outside the bracket.


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Shiny protector

The ones we did were.
Lets asoom that b was 5, and c was 4.
Well, b5 + b4. And I think that is something like g9 if I'm correct. I maybe 
be wrong, but I didn't do that much. We'll probably learn them thoroughly in 
secondary school.
- Original Message - 
From: NIcol nicoljaco...@telkomsa.net

To: 'Gamers Discussion list' gamers@audyssey.org
Sent: Sunday, November 28, 2010 10:57 AM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Tom
On 28 november at 12:48 a.m. you wrote:
For example, a lot of the concepts and terminology in programming such
as variables, integers, floats, arrays, etc are taken right out of
your high school Algebra textbook. Sheesh, I learned about variables,
arrays, floating point numbers, etc all by the ninth grade.
You made a very interesting point.
I never knew before that a lot of  programming concepts comes from the 
grade
9 algebra. I also did algebra in grade 9 but we were never taught 
variables,

integers, floats, and  arrays.
The only algebra we did was called formulas.
For example, our formulas in the math class would look something like 
this:

5[6 times 8]
This formula means  that the sum inside the bracket is calculated and then
the answer is multiplied with the figure outside the bracket.


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Hayden Presley
Hi,
D5? B4? Equals G9? That makes no sense.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Shiny protector
Sent: Sunday, November 28, 2010 5:48 AM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

The ones we did were.
Lets asoom that b was 5, and c was 4.
Well, b5 + b4. And I think that is something like g9 if I'm correct. I maybe

be wrong, but I didn't do that much. We'll probably learn them thoroughly in

secondary school.
- Original Message - 
From: NIcol nicoljaco...@telkomsa.net
To: 'Gamers Discussion list' gamers@audyssey.org
Sent: Sunday, November 28, 2010 10:57 AM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!


 Hi Tom
 On 28 november at 12:48 a.m. you wrote:
 For example, a lot of the concepts and terminology in programming such
 as variables, integers, floats, arrays, etc are taken right out of
 your high school Algebra textbook. Sheesh, I learned about variables,
 arrays, floating point numbers, etc all by the ninth grade.
 You made a very interesting point.
 I never knew before that a lot of  programming concepts comes from the 
 grade
 9 algebra. I also did algebra in grade 9 but we were never taught 
 variables,
 integers, floats, and  arrays.
 The only algebra we did was called formulas.
 For example, our formulas in the math class would look something like 
 this:
 5[6 times 8]
 This formula means  that the sum inside the bracket is calculated and then
 the answer is multiplied with the figure outside the bracket.


 ---
 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.


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Shiny protector
As I said, I didn't thoroughly understand it. Because in year 6 you don't 
study them much. Probably in year 7 we'd study them a lot.
- Original Message - 
From: Hayden Presley hdpres...@hotmail.com

To: 'Gamers Discussion list' gamers@audyssey.org
Sent: Sunday, November 28, 2010 2:12 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi,
D5? B4? Equals G9? That makes no sense.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Shiny protector
Sent: Sunday, November 28, 2010 5:48 AM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

The ones we did were.
Lets asoom that b was 5, and c was 4.
Well, b5 + b4. And I think that is something like g9 if I'm correct. I 
maybe


be wrong, but I didn't do that much. We'll probably learn them thoroughly 
in


secondary school.
- Original Message - 
From: NIcol nicoljaco...@telkomsa.net

To: 'Gamers Discussion list' gamers@audyssey.org
Sent: Sunday, November 28, 2010 10:57 AM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Tom
On 28 november at 12:48 a.m. you wrote:
For example, a lot of the concepts and terminology in programming such
as variables, integers, floats, arrays, etc are taken right out of
your high school Algebra textbook. Sheesh, I learned about variables,
arrays, floating point numbers, etc all by the ninth grade.
You made a very interesting point.
I never knew before that a lot of  programming concepts comes from the
grade
9 algebra. I also did algebra in grade 9 but we were never taught
variables,
integers, floats, and  arrays.
The only algebra we did was called formulas.
For example, our formulas in the math class would look something like
this:
5[6 times 8]
This formula means  that the sum inside the bracket is calculated and 
then

the answer is multiplied with the figure outside the bracket.


---
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.


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Thomas Ward
HI,

What is this? That's definitely not right. If we have a formula like
a = b+c
 and iff we assume b is 5 and c is 4 then a would be 9 since that is
the sum of b and c.


On 11/28/10, Shiny protector muhamme...@googlemail.com wrote:
 The ones we did were.
 Lets asoom that b was 5, and c was 4.
 Well, b5 + b4. And I think that is something like g9 if I'm correct. I maybe
 be wrong, but I didn't do that much. We'll probably learn them thoroughly in
 secondary school.

---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Shiny protector

Ah. Understood.
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: Gamers Discussion list gamers@audyssey.org
Sent: Sunday, November 28, 2010 9:02 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



HI,

What is this? That's definitely not right. If we have a formula like
a = b+c
and iff we assume b is 5 and c is 4 then a would be 9 since that is
the sum of b and c.


On 11/28/10, Shiny protector muhamme...@googlemail.com wrote:

The ones we did were.
Lets asoom that b was 5, and c was 4.
Well, b5 + b4. And I think that is something like g9 if I'm correct. I 
maybe
be wrong, but I didn't do that much. We'll probably learn them thoroughly 
in

secondary school.


---
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] USA Blackjack 1.0 Released!

2010-11-28 Thread Thomas Ward
Hi Nicol,

Okay? Well, I can say right off that creating Algebra formulas is a
key part of programming. A formula like
p = 2l+2w
would calculate the perimitor of a square or rectangle. For example,
if we are getting into graphics programming an indepth knowledge of
basic geometry is essentual in order to render the graphics on screen
properly using those formulas.

Anyway, another key concept that carries over is variables which was
definitely covered in my Algebra class. In the formula
p = 2l+2w
the letters p, l, and w are variables because we don't know what
numbers/values they contain yet. They are just substitutions or place
holders so to speak. Now, if we assume l is 10 and w is 5 we now get a
rectangle 10 units long by 5 units wide. We can now do the formula by
calculating 2 times l plus 2 times w. After we work the formula we
find out that p, the perimitor,  is 30.

The point I want to get at here is that in any type of programming we
use variables to hold values of a keyboard command, numbers, strings,
whatever until they are needed. If we don't know what a certain value
is we can work a formula to find that out. Understanding variables,
therefore, is critical to even beginning to think about programming,
because variables are used to store information until it is needed by
the program, or use to substitute a value that we don't know yet.
That's why I'm saying that at least high school Algebra is pretty much
essential to beginning programming.

When it comes to game programming it is more so. You have all kinds of
formulas such as how to calculate the distance an object has traveled
in a certain amount of time, calculating where the objects next
location on the grid is, etc. There are hundreds of calculations that
goes into any complex game and it requires some kind of familiarity
with those concepts before beginning.



On 11/28/10, NIcol nicoljaco...@telkomsa.net wrote:
 Hi Tom
 On 28 november at 12:48 a.m. you wrote:
 For example, a lot of the concepts and terminology in programming such
 as variables, integers, floats, arrays, etc are taken right out of
 your high school Algebra textbook. Sheesh, I learned about variables,
 arrays, floating point numbers, etc all by the ninth grade.
 You made a very interesting point.
 I never knew before that a lot of  programming concepts comes from the grade
 9 algebra. I also did algebra in grade 9 but we were never taught variables,
 integers, floats, and  arrays.
  The only algebra we did was called formulas.
 For example, our formulas in the math class would look something like this:
 5[6 times 8]
 This formula means  that the sum inside the bracket is calculated and then
 the answer is multiplied with the figure outside the bracket.


---
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] USA Blackjack 1.0 Released!

2010-11-27 Thread Rynhardt Kruger
Hi,

Python for s60 will run on most if not all s60 3rd devices, including the E66. 
The current version is python for s60 
2.0 which is python 2.5 ported to symbian. If you install the interpreter as 
well as the script shell, you should be 
able to play blackjack with may be a little tweaking. I imagine it would also 
be possible for someone to write a small 
GUI for the phone to put on top of the blackjack game. 
The python for s60 homepage is at:

http://pys60.sourceforge.net

Take care,

Rynhardt

* Thomas Ward thomasward1...@gmail.com [101127 14:32]:
 Hi Nicol,
 
 I know that some older Nokia phones did have a Python interpreter
 installed, but I don't know if the E66 specifically has one installed.
 If it does the game will run. If not I can  not do much about that as
 it is up to Nokia to maintain the Python interpreter for their phone.
 So I'd ask someone from Nokia if the E66 has a Python interpreter
 installed or available for that particular phone.
 
 
 Cheers!
 
 On 11/25/10, NIcol nicoljaco...@telkomsa.net wrote:
  Hi Tom
  Thanks, I will try out the game.
  Can this game work on synbian phones like the nokia  e66?
  If not, are you planning to develop a synbian version?
 
 ---
 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] USA Blackjack 1.0 Released!

2010-11-27 Thread Hayden Presley
Hi,
What I'm not seeing is, at least with arrays, when they're that useful?
Consider if I make an array. Then, I have to assign each index a value
anyway, no?

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: Saturday, November 27, 2010 1:04 AM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi,

Okay? That's interesting. What exactly is so hard to understand about
arrays and loops?

A loop simply does that. it continues looping through a section of
code until some condition is met like a variable being changed from
True to False or the other way round. Either that or it will loop
until some certain number is reached.For example, this would be a very
typical master game loop.

while running == True:
process_input()
process_events()
#End While

As long as the running flag remains true the while loop will loop
forever. As soone as it is changed to false such as an ExitProgram()
function the loop will exit and the application will close.I don't
think that is a very complex concept to master.

As for arrays again we have a pretty simple concept. They are
basically nothing more than a list or table of related items. In fact,
in Python a array is called a list because that is the primary
function of an array to list items by type. Of course, Python has some
unique array types such as lists, dictionaries, toupals, etc but that
doesn't change from the basic fact of what an array actually does. For
example, here is a simple list of strings such as the days of the
week.

week = [Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday]

Here we have a basic list of the days of the week. Now, if we didn't
know which day was the fourth day in the week we could check that by
printing out that information with the prinbt statement like this
print week[3]
and it would show us the fourth element of our list/array, and print
out Wednesday. For those who don't understand why I used the number 3
instead of 4 that is because all arrays, like in math, begin with the
number 0 and count from there. So the fourth element of the array
would be 3 and the first element therefore would have the value 0.
This is by far the most complicated thing about arrays, and the very
thing that throws every new programmer off, because they always tend
to start counting from 1 and forget to begin with 0. However, the
basic concepts of arrays and how they work are actually quite simple
and straight forward. At least for me they always were.


Cheers!

---
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] USA Blackjack 1.0 Released!

2010-11-27 Thread Thomas Ward
Hi Hayden,

Ah, I see. Well, as a matter of fact arrays are very useful. In fact,
I'd go as far as to say a programmer that doesn't understand and can't
use arrays can't program anything very productive as software such as
games depend heavily on the use of arrays to keep track of large
amounts of data. They are, perhaps, one of the most importantconcepts
to master in computer programming. Here is a few practical examples of
using arrays in games.

In Mysteries of the Ancients did you ever wonder how the game keeps
track of if Angela is walking/running on stone, dirt, ledges, chasms,
etc? It is very simple really. The entire game level is loaded into a
large array, and every time Angela takes a step the WalkLeft() and
WalkRight() function checks the array to see if the next step is a
chasm, lava pit, fire pit, or if the surface has changed from stone
floor to a crumbling ledge, etc. If the array has a wall there the
player stops moving and can't move forward. There are other ways to do
collision detection mathematically, but an array is the most basic and
most practical way to keep track of a large map like that.

Many board games like Ches also use arrays. To create a Chess board
you would define an 8 by 8 2d array and then populate the board with
the game pieces. Instead of checking a game pieces location with every
other piece on the board manually you can just check the array if
there is something in your way. For example, doing something like
piece = board[4][4]
will return the piece if any that would be located at (4, 4).Of
course, there is another way to do this and it would be a tedious task
of checking the location of all 32 game pieces and see if any of them
is located at (4, 4) when you can simplify that just by using an array
as shown above.

As I said just about every board game I can think of would use an
array to store information like this. In Monopoly you might use an
array/list to keep track of the name of each square.

board = [Go,
Mediterranean Avenue,
Income Tax,
Baltic Avenue,
Chance,
Reeding Railroad}

The advantage of an array or list here would be huge. Instead of
having to manually write 32 if statements to return the name of each
and every square you can simply populate an array with those names and
get the name of the square just by passing it the player's location on
the board
print You are at  + board[x] + .\n
would print out the name of the square. If you have multiple squares
of the same type you can handle them with one if statement instead of
multiple if statements like this.

if board[x] == Chanse:
draw_chance()
#End if

Without the array here you would have to check each chanse square
individually like this.

if x == 5:
draw_chance()
#End if
if x == 25:
draw_chance()
#End if

As you can see for a very large program an array would save large
amounts of time in programming and save you from many headaches. With
an array here you could simplify something as determining if the
player is on a chance square by seeing if the location returns that
type rather than going around the entire board checking the board
square by square.

Anyway, I'm glad you braught this issue up. One of the things I'm
trying to do with the tutorial as well as creating sample games in
Python is to try and get some of the key concepts of programming
explained in language perhaps the common person can understand. I've
always had a nack for things like programming and pick up concepts
rather easily. Other people, such as yourself, are completely baffled
by concepts and ideas that are crystal clear to me. One reason I think
that is because most programmers like other computer geeks just aren't
able to speak plane English without tossing in technical termonology
and advanced concepts that the common person just doesn't understand,
and in my experience most people just aren't very good math students.

For example, a lot of the concepts and terminology in programming such
as variables, integers, floats, arrays, etc are taken right out of
your high school Algebra textbook. Sheesh, I learned about variables,
arrays, floating point numbers, etc all by the ninth grade. Wehn i
talk to the common person out there they are like what's that?

It is one of those moments you want to grab the person and ask them
where on earth were you in math class when the teacher was teaching
this stuff too you?  Of course, the  answer is pretty simple. They
probably never understood it back then, or was too busy getting
stoned, smoking pot, or day dreaming than to care about getting an
education in higher mathematics. Whatever the case I've discovered in
order to explain programming we litterally have to take them back to
ninth grade and recover some math concepts like what is a variable,
and how to use them such as
c = a+b
which is practically the first thing you learn in high school Algebra,
and is essentual for learning programming. Programming is based on the
asumption you have had some Algebra, and for games like 

Re: [Audyssey] USA Blackjack 1.0 Released!

2010-11-27 Thread Hayden Presley
Hi Thomas,
Yes, after I've looked at a few sources it does start to look a lot like
algebra. One more question--why did you use doc string and replace your #
comment lines?

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: Saturday, November 27, 2010 4:48 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Hayden,

Ah, I see. Well, as a matter of fact arrays are very useful. In fact,
I'd go as far as to say a programmer that doesn't understand and can't
use arrays can't program anything very productive as software such as
games depend heavily on the use of arrays to keep track of large
amounts of data. They are, perhaps, one of the most importantconcepts
to master in computer programming. Here is a few practical examples of
using arrays in games.

In Mysteries of the Ancients did you ever wonder how the game keeps
track of if Angela is walking/running on stone, dirt, ledges, chasms,
etc? It is very simple really. The entire game level is loaded into a
large array, and every time Angela takes a step the WalkLeft() and
WalkRight() function checks the array to see if the next step is a
chasm, lava pit, fire pit, or if the surface has changed from stone
floor to a crumbling ledge, etc. If the array has a wall there the
player stops moving and can't move forward. There are other ways to do
collision detection mathematically, but an array is the most basic and
most practical way to keep track of a large map like that.

Many board games like Ches also use arrays. To create a Chess board
you would define an 8 by 8 2d array and then populate the board with
the game pieces. Instead of checking a game pieces location with every
other piece on the board manually you can just check the array if
there is something in your way. For example, doing something like
piece = board[4][4]
will return the piece if any that would be located at (4, 4).Of
course, there is another way to do this and it would be a tedious task
of checking the location of all 32 game pieces and see if any of them
is located at (4, 4) when you can simplify that just by using an array
as shown above.

As I said just about every board game I can think of would use an
array to store information like this. In Monopoly you might use an
array/list to keep track of the name of each square.

board = [Go,
Mediterranean Avenue,
Income Tax,
Baltic Avenue,
Chance,
Reeding Railroad}

The advantage of an array or list here would be huge. Instead of
having to manually write 32 if statements to return the name of each
and every square you can simply populate an array with those names and
get the name of the square just by passing it the player's location on
the board
print You are at  + board[x] + .\n
would print out the name of the square. If you have multiple squares
of the same type you can handle them with one if statement instead of
multiple if statements like this.

if board[x] == Chanse:
draw_chance()
#End if

Without the array here you would have to check each chanse square
individually like this.

if x == 5:
draw_chance()
#End if
if x == 25:
draw_chance()
#End if

As you can see for a very large program an array would save large
amounts of time in programming and save you from many headaches. With
an array here you could simplify something as determining if the
player is on a chance square by seeing if the location returns that
type rather than going around the entire board checking the board
square by square.

Anyway, I'm glad you braught this issue up. One of the things I'm
trying to do with the tutorial as well as creating sample games in
Python is to try and get some of the key concepts of programming
explained in language perhaps the common person can understand. I've
always had a nack for things like programming and pick up concepts
rather easily. Other people, such as yourself, are completely baffled
by concepts and ideas that are crystal clear to me. One reason I think
that is because most programmers like other computer geeks just aren't
able to speak plane English without tossing in technical termonology
and advanced concepts that the common person just doesn't understand,
and in my experience most people just aren't very good math students.

For example, a lot of the concepts and terminology in programming such
as variables, integers, floats, arrays, etc are taken right out of
your high school Algebra textbook. Sheesh, I learned about variables,
arrays, floating point numbers, etc all by the ninth grade. Wehn i
talk to the common person out there they are like what's that?

It is one of those moments you want to grab the person and ask them
where on earth were you in math class when the teacher was teaching
this stuff too you?  Of course, the  answer is pretty simple. They
probably never understood it back then, or was too busy getting
stoned, smoking pot, or day dreaming than to care about getting

Re: [Audyssey] USA Blackjack 1.0 Released!

2010-11-27 Thread Thomas Ward
Hi Hayden,

Well, the main reason is that doc strings is the official and standard
way to document classes, functions, methods, and modules in Python. I
personally like using the single line number sign to document things
for myself, but if you are going to generate API docs etc you need a
doc string. Since it is the official way of doing things in Python and
this is for the general public I figured I should stick with official
standards here.

On 11/27/10, Hayden Presley hdpres...@hotmail.com wrote:
 Hi Thomas,
 Yes, after I've looked at a few sources it does start to look a lot like
 algebra. One more question--why did you use doc string and replace your #
 comment lines?

 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.


Re: [Audyssey] USA Blackjack 1.0 Released!

2010-11-26 Thread Jim Kitchen

Hi Hayden,

If you have a shuffled deck of cards, you just deal off of the deck and thus do 
not need to have fifty some if statements to see if you have picked that card 
before.  And it would be even more checks if you were playing with 2, 3, 4, 5 
or 6 decks of cards, right?  It is very easy to shuffle the deck and it just 
makes better programming sense to me.  I set up a true 52 card deck of cards in 
an array, pick a number, reduce down the array and pick again until you have 
picked the full deck away.  It has always worked out great in all of my card 
games.

BFN

Jim

Experience is something you don't get until just after you need it.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA

- Original Message -
Hi,
Why would you want to shuffle a virtual deck of cards; why not just take a
random card each time, and loop through the deck to see if that card has
been atken?

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Jim Kitchen
Sent: Thursday, November 25, 2010 5:55 AM
To: Charles Rivard
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Charles,

In my casino pack of games, in black jack you can choose to play with from 1
to 6 decks of cards.  And in both my black jack and draw poker games I first
build a true unshuffled deck and then shuffle it, or them.  So the games are
very much like what you would play in a casino etc.

BFN

Jim

I am now playing with a full deck.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Thomas Ward
Hi Jim,

You wouldn't necessarily have to write 52 if statements to check if a
certain card has been picked before. You can just create an array of
type boolean, and loop through the array to see if a certain card has
been picked before. For example, it might look like this.

picked = True

while picked == True:

card = random.randrange(0, 51)

#If this card has been picked before
#continue looping until we get a new card
if drawn[card] == True:
picked = True
#End if

#If the card hasn't been picked before
#select it and exit the loop
if drawn[card] == False:
drawn[card] = True
picked = False
#End if
#End while

As you can see there are ways of avoiding writing 52 if statements if
you make maximum use of arrays and loops. There are usually ways to
simplify a task if you give it some thought.

Smile.


On 11/26/10, Jim Kitchen j...@kitchensinc.net wrote:
 Hi Hayden,

 If you have a shuffled deck of cards, you just deal off of the deck and thus
 do not need to have fifty some if statements to see if you have picked that
 card before.  And it would be even more checks if you were playing with 2,
 3, 4, 5 or 6 decks of cards, right?  It is very easy to shuffle the deck and
 it just makes better programming sense to me.  I set up a true 52 card deck
 of cards in an array, pick a number, reduce down the array and pick again
 until you have picked the full deck away.  It has always worked out great in
 all of my card games.

 BFN

  Jim

 Experience is something you don't get until just after you need it.

 j...@kitchensinc.net
 http://www.kitchensinc.net
 (440) 286-6920
 Chardon Ohio USA

---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Jim Kitchen

Hi Thomas,

Yes, I know that you can just check to see if that card has been picked before 
like you said.  However when you get to like forty some of the cards have been 
picked you may end up picking a used card over and over and over thus taking 
time to finally pick an unused card.  And one wants to use up most of the deck 
before shuffling the deck because that is how they do it in a casino.  You know 
so that black jack players can count cards and beat the casino.  So that is why 
I wanted my game to be as much like playing in a casino for practice before 
going to a casino.  Plus like I said I just think that setting up an actual 
shuffled deck is a better programming practice.

TGIF and BFN

Jim

Experience is something you don't get until just after you need it.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Hayden Presley
Hi,
I won't get too technical, but what real card counters call card counting
isn't quite what most of us condider it.

Best Regards,
Hayden

-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Jim Kitchen
Sent: Friday, November 26, 2010 2:43 PM
To: Thomas Ward
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Thomas,

Yes, I know that you can just check to see if that card has been picked
before like you said.  However when you get to like forty some of the cards
have been picked you may end up picking a used card over and over and over
thus taking time to finally pick an unused card.  And one wants to use up
most of the deck before shuffling the deck because that is how they do it in
a casino.  You know so that black jack players can count cards and beat the
casino.  So that is why I wanted my game to be as much like playing in a
casino for practice before going to a casino.  Plus like I said I just think
that setting up an actual shuffled deck is a better programming practice.

TGIF and BFN

 Jim

Experience is something you don't get until just after you need it.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Hayden Presley
Hi,
Ah...the nightmarish array! That, and loops, have  been the things that just
allude me when I read about how to program in this or that language.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: Friday, November 26, 2010 10:49 AM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Jim,

You wouldn't necessarily have to write 52 if statements to check if a
certain card has been picked before. You can just create an array of
type boolean, and loop through the array to see if a certain card has
been picked before. For example, it might look like this.

picked = True

while picked == True:

card = random.randrange(0, 51)

#If this card has been picked before
#continue looping until we get a new card
if drawn[card] == True:
picked = True
#End if

#If the card hasn't been picked before
#select it and exit the loop
if drawn[card] == False:
drawn[card] = True
picked = False
#End if
#End while

As you can see there are ways of avoiding writing 52 if statements if
you make maximum use of arrays and loops. There are usually ways to
simplify a task if you give it some thought.

Smile.


On 11/26/10, Jim Kitchen j...@kitchensinc.net wrote:
 Hi Hayden,

 If you have a shuffled deck of cards, you just deal off of the deck and
thus
 do not need to have fifty some if statements to see if you have picked
that
 card before.  And it would be even more checks if you were playing with 2,
 3, 4, 5 or 6 decks of cards, right?  It is very easy to shuffle the deck
and
 it just makes better programming sense to me.  I set up a true 52 card
deck
 of cards in an array, pick a number, reduce down the array and pick again
 until you have picked the full deck away.  It has always worked out great
in
 all of my card games.

 BFN

  Jim

 Experience is something you don't get until just after you need it.

 j...@kitchensinc.net
 http://www.kitchensinc.net
 (440) 286-6920
 Chardon Ohio USA

---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Thomas Ward
Hi,

Okay? That's interesting. What exactly is so hard to understand about
arrays and loops?

A loop simply does that. it continues looping through a section of
code until some condition is met like a variable being changed from
True to False or the other way round. Either that or it will loop
until some certain number is reached.For example, this would be a very
typical master game loop.

while running == True:
process_input()
process_events()
#End While

As long as the running flag remains true the while loop will loop
forever. As soone as it is changed to false such as an ExitProgram()
function the loop will exit and the application will close.I don't
think that is a very complex concept to master.

As for arrays again we have a pretty simple concept. They are
basically nothing more than a list or table of related items. In fact,
in Python a array is called a list because that is the primary
function of an array to list items by type. Of course, Python has some
unique array types such as lists, dictionaries, toupals, etc but that
doesn't change from the basic fact of what an array actually does. For
example, here is a simple list of strings such as the days of the
week.

week = [Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday]

Here we have a basic list of the days of the week. Now, if we didn't
know which day was the fourth day in the week we could check that by
printing out that information with the prinbt statement like this
print week[3]
and it would show us the fourth element of our list/array, and print
out Wednesday. For those who don't understand why I used the number 3
instead of 4 that is because all arrays, like in math, begin with the
number 0 and count from there. So the fourth element of the array
would be 3 and the first element therefore would have the value 0.
This is by far the most complicated thing about arrays, and the very
thing that throws every new programmer off, because they always tend
to start counting from 1 and forget to begin with 0. However, the
basic concepts of arrays and how they work are actually quite simple
and straight forward. At least for me they always were.


Cheers!

---
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] USA Blackjack 1.0 Released!

2010-11-26 Thread Thomas Ward
Hi Jim,

Good point. If you have a fairly large list of used cards in a deck it
would take a while for the random generator to select one of the cards
that haven't been selected. That would probably require several
iderations of the while loop which would definitely slow things down.
In a case like that shuffling the deck would be more practical as it
could quite litterally just pick the next card out of the array and
use it without trying to hit or miss several times before landing on
an unused card. Of course, in some card games like War you'd
definitely have to shuffle the deck before dealing them out as it
would operate much smoother in splitting the deck properly.

On 11/26/10, Jim Kitchen j...@kitchensinc.net wrote:
 Hi Thomas,

 Yes, I know that you can just check to see if that card has been picked
 before like you said.  However when you get to like forty some of the cards
 have been picked you may end up picking a used card over and over and over
 thus taking time to finally pick an unused card.  And one wants to use up
 most of the deck before shuffling the deck because that is how they do it in
 a casino.  You know so that black jack players can count cards and beat the
 casino.  So that is why I wanted my game to be as much like playing in a
 casino for practice before going to a casino.  Plus like I said I just think
 that setting up an actual shuffled deck is a better programming practice.

 TGIF and BFN

  Jim

 Experience is something you don't get until just after you need it.

 j...@kitchensinc.net
 http://www.kitchensinc.net
 (440) 286-6920
 Chardon Ohio USA
 ---
 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] USA Blackjack 1.0 Released!

2010-11-25 Thread Jim Kitchen

Hi Charles,

In my casino pack of games, in black jack you can choose to play with from 1 to 
6 decks of cards.  And in both my black jack and draw poker games I first build 
a true unshuffled deck and then shuffle it, or them.  So the games are very 
much like what you would play in a casino etc.

BFN

Jim

I am now playing with a full deck.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread NIcol
Hi Tom
Thanks, I will try out the game.
Can this game work on synbian phones like the nokia  e66?
If not, are you planning to develop a synbian version?


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: 24 November 2010 11:34 PM
To: gamers@audyssey.org
Subject: [Audyssey] USA Blackjack 1.0 Released!

Hello everyone,

We have just released the first of our freeware games, USA Blackjack,
written in pure Python. This text-based game will not only be hours of
enjoyment for card players, but is completely open source and is
licenced under the GNU General Public License Agreement. You can use
the source code to help yourself learn Python, modify it, or share it
with others as needed. It is completely cross-platform and supports
Windows, Mac, Linux, FreeBSD, and any platform with a compatible
Python interpreter. To get the Python interpreter for your platform
visit the Python website
http://www.python.org
and grab a copy for your platform if you don't already have one installed.

To get USA Blackjack visit the Blackjack home page at
http://www.usagamesinteractive.com/blackjack.php
and enjoy.

Happy holidays!

---
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. 



No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 426/3277 - Release Date: 11/24/10



---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread Hayden Presley
Hi,
Why would you want to shuffle a virtual deck of cards; why not just take a
random card each time, and loop through the deck to see if that card has
been atken?

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Jim Kitchen
Sent: Thursday, November 25, 2010 5:55 AM
To: Charles Rivard
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Charles,

In my casino pack of games, in black jack you can choose to play with from 1
to 6 decks of cards.  And in both my black jack and draw poker games I first
build a true unshuffled deck and then shuffle it, or them.  So the games are
very much like what you would play in a casino etc.

BFN

 Jim

I am now playing with a full deck.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread Charles Rivard

Nutz.

---
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:46 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Charles,

Unfortunately, no. The Packmates use Windows mobile which I don't
think is supported by the Python interpreters yet. Someone would have
to try and cross compile it to Windows Mobile which I have no idea how
to do.

On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
Hmm.  I wonder if this game could be gotten to work on a Pac Mate Omni? 
It
runs on, I think, Windows 6 or something like that, and have no clue if 
it
has anything to do with Python or how that would work on such a PDA with 
a

braille display.

---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread Charles Rivard
That's what I thought, but I figured, What the heck.  If you can legally 
make a few bucks off of small projects like these, go for it.


---
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:23 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi,

I have no idea what the copyrights are on some of those games.
However, in my experience even though the copyrights on such games
haven't expired big companies aren't really enforcing them much any
more either.  Take the Infocom games as an example here.

Technically Activision baught up the rights for the original Infocom
games like Zork, Arthur, Hitch Hiker's Guide to the Galaxy, etc and
sold them for Windows 95 as a limited promotional deal. However, at
that time the internet was growing and people who had the games simply
uploaded the games to a website here and there and you could download
and play them with winfrotz, frotz, etc. Initially Activision was
really ticked about it, but let's face it those games were already old
by the time Activision baught them up and started selling them again.
Now days Activision isn't even selling them any more, and they are
more or less considered abandonware. If you can download and play them
with your  favorite zcode interpreter Activision isn't going to scream
too loudly as long as you don't sell them.

My point is whatever the copyright status is for old games like
Kidnapped, Oregon Trail, etc are as long as I copy them and release
them as freeware the copyright owners aren't likely to give a care who
gets them. If I sell them for a small fee then the copyright holder
might get a little annoyed that I'm making money and they aren't off
their idea. It is better safe than sorry in my opinion.

Smile.




On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
I think I know the answer, but here goes:  Any chance of you being 
allowed,

without breaking any copyright laws, to sell packs of such games as these
for a small fee?

---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread Thomas Ward
Hi Nicol,

I know that some older Nokia phones did have a Python interpreter
installed, but I don't know if the E66 specifically has one installed.
If it does the game will run. If not I can  not do much about that as
it is up to Nokia to maintain the Python interpreter for their phone.
So I'd ask someone from Nokia if the E66 has a Python interpreter
installed or available for that particular phone.


Cheers!

On 11/25/10, NIcol nicoljaco...@telkomsa.net wrote:
 Hi Tom
 Thanks, I will try out the game.
 Can this game work on synbian phones like the nokia  e66?
 If not, are you planning to develop a synbian version?

---
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] USA Blackjack 1.0 Released!

2010-11-25 Thread Thomas Ward
Hi,

I'd imagine that would add more to the random factor to the game. In
USA Blackjack I just created a list, essentually an array, of cards
from 0 to 51 and have the random generator pick one at random. That
works, but if you shuffle the deck before randomly selecting a card
the cards are in a different order from round to round that would make
the random selection more realistic and more random per game. For
example, in my Blackjack game element 0 is always the Ace of Clubs. If
I shuffled the deck element 0 could be anything from the Ace of Clubs
to the King of Spades.

On 11/25/10, Hayden Presley hdpres...@hotmail.com wrote:
 Hi,
 Why would you want to shuffle a virtual deck of cards; why not just take a
 random card each time, and loop through the deck to see if that card has
 been atken?

 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.


Re: [Audyssey] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Charles,

Well, you don't need to know Python to play the game of course, but
some background would be helpful in understanding the game's source
code. For example, reading the Python 2.7 tutorial that ships with the
Python interpreter will give you the language basics such as
variables, comments, functions, lists, etc. After reading that and
looking at the source code you can get an idea of how a very basic
game is pulled together from what you have learned.

To play it just press enter on blackjack.pyc, and it should startup
and let you play. That is assuming you have Python 2.6 or Python 2.7
installed of course.

Cheers

On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 Do we need to know anything about Python?  I don't, yet.  Also, how can we
 use this free game to see and, maybe, learn a bit about , Python
 programming?  Thanks.

 ---
 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] USA Blackjack 1.0 Released!

2010-11-24 Thread dark

Hi Tom.

Ah, I missed this, ow irritating!

I'll see about some news, sinse even though we do have working accessible 
blackjack, hopefully people will find both the cross platform bit and 
example code interesting.


Beware the Grue!

Dark.
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: gamers@audyssey.org
Sent: Wednesday, November 24, 2010 9:33 PM
Subject: [Audyssey] USA Blackjack 1.0 Released!



Hello everyone,

We have just released the first of our freeware games, USA Blackjack,
written in pure Python. This text-based game will not only be hours of
enjoyment for card players, but is completely open source and is
licenced under the GNU General Public License Agreement. You can use
the source code to help yourself learn Python, modify it, or share it
with others as needed. It is completely cross-platform and supports
Windows, Mac, Linux, FreeBSD, and any platform with a compatible
Python interpreter. To get the Python interpreter for your platform
visit the Python website
http://www.python.org
and grab a copy for your platform if you don't already have one installed.

To get USA Blackjack visit the Blackjack home page at
http://www.usagamesinteractive.com/blackjack.php
and enjoy.

Happy holidays!

---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Hayden Presley
Hi Thomas,
Just curious...why do we need the .pyc file? The .py file works fine.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of dark
Sent: Wednesday, November 24, 2010 5:42 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Tom.

Ah, I missed this, ow irritating!

I'll see about some news, sinse even though we do have working accessible 
blackjack, hopefully people will find both the cross platform bit and 
example code interesting.

Beware the Grue!

Dark.
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com
To: gamers@audyssey.org
Sent: Wednesday, November 24, 2010 9:33 PM
Subject: [Audyssey] USA Blackjack 1.0 Released!


 Hello everyone,

 We have just released the first of our freeware games, USA Blackjack,
 written in pure Python. This text-based game will not only be hours of
 enjoyment for card players, but is completely open source and is
 licenced under the GNU General Public License Agreement. You can use
 the source code to help yourself learn Python, modify it, or share it
 with others as needed. It is completely cross-platform and supports
 Windows, Mac, Linux, FreeBSD, and any platform with a compatible
 Python interpreter. To get the Python interpreter for your platform
 visit the Python website
 http://www.python.org
 and grab a copy for your platform if you don't already have one installed.

 To get USA Blackjack visit the Blackjack home page at
 http://www.usagamesinteractive.com/blackjack.php
 and enjoy.

 Happy holidays!

 ---
 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.


---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Dark,

Yeah. It isn't much as a game, but it should be pretty compatible with
anything that runs Python appplications. I'd imagine it would run on a
Braille Plus and similar devices since it has a Python interpreter
built in.  There are also Python versions for Windows CE so that means
I might be able to run the game on smart phones, notetakers, and
various things too. It has possibilities as a free simple game. I know
right now I'm playing the game on Linux, and getting my tail kicked by
the dealer. He is a really mean card shark.

Now, the next game I'll release is Oregon Trail as I know that game in
particular is in demand. I only have it partly finished, and I think
that will be really fun revisiting the classic Apple II games of my
childhood in a new and totally cross-platform version.

Smile.


On 11/24/10, dark d...@xgam.org wrote:
 Hi Tom.

 Ah, I missed this, ow irritating!

 I'll see about some news, sinse even though we do have working accessible
 blackjack, hopefully people will find both the cross platform bit and
 example code interesting.

 Beware the Grue!

 Dark.

---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Ryan Smith
Hi Thomas
Nice job with this! I just won a round on level 2. I'm glad you've
found Python as useful as I have. One suggestion though. I've noticed
you document your Python methods like this:
#Function: dealer_draw().
#Description: Draws a new card for the dealer.

Most Python programmers document their code with a DocString.  For example:

def buildConnectionString(params):
Build a connection string from a dictionary of parameters.

Returns string.

Triple-quotes allow more than one line, if you simply want one line,
use one quote (like any string). There are a few reasons why you may
want to use DocStrings. First off, you can access it by using the
.__doc__ property. For example: buildConnectionString.__doc__.
Here is a more useful example:
from pydoc import help
help(buildConnectionString)
Help on function buildConnectionString in module __main__:

buildConnectionString(params)
Build a connection string from a dictionary of parameters.

Returns string.

While it probably isn't worth the time to change your code to use
DocStrings, it might be useful to know in the future, especially if
people are looking to learn from it.
Thanks.
-Ryan



On Wed, Nov 24, 2010 at 6:27 PM, Thomas Ward thomasward1...@gmail.com wrote:
 Hi Charles,

 Well, you don't need to know Python to play the game of course, but
 some background would be helpful in understanding the game's source
 code. For example, reading the Python 2.7 tutorial that ships with the
 Python interpreter will give you the language basics such as
 variables, comments, functions, lists, etc. After reading that and
 looking at the source code you can get an idea of how a very basic
 game is pulled together from what you have learned.

 To play it just press enter on blackjack.pyc, and it should startup
 and let you play. That is assuming you have Python 2.6 or Python 2.7
 installed of course.

 Cheers

 On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 Do we need to know anything about Python?  I don't, yet.  Also, how can we
 use this free game to see and, maybe, learn a bit about , Python
 programming?  Thanks.

 ---
 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] USA Blackjack 1.0 Released!

2010-11-24 Thread dark

That sounds great actually tom.

I've heard a good deal about Oregon Trail, but haven't turned up 
anything,  probably because aple basic stuff is harder to run.


It'll be really nice to finally get to play it, and to have a version which 
can be run on modern machines.


I'm always rather sad when really great games can't be played anymore.

Beware the Grue!

Dark.
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: Gamers Discussion list gamers@audyssey.org
Sent: Wednesday, November 24, 2010 11:58 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Dark,

Yeah. It isn't much as a game, but it should be pretty compatible with
anything that runs Python appplications. I'd imagine it would run on a
Braille Plus and similar devices since it has a Python interpreter
built in.  There are also Python versions for Windows CE so that means
I might be able to run the game on smart phones, notetakers, and
various things too. It has possibilities as a free simple game. I know
right now I'm playing the game on Linux, and getting my tail kicked by
the dealer. He is a really mean card shark.

Now, the next game I'll release is Oregon Trail as I know that game in
particular is in demand. I only have it partly finished, and I think
that will be really fun revisiting the classic Apple II games of my
childhood in a new and totally cross-platform version.

Smile.


On 11/24/10, dark d...@xgam.org wrote:

Hi Tom.

Ah, I missed this, ow irritating!

I'll see about some news, sinse even though we do have working accessible
blackjack, hopefully people will find both the cross platform bit and
example code interesting.

Beware the Grue!

Dark.


---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Charles Rivard
There are probably some Apple games that blind people cannot play unless 
they have Apple machines, too.  One that comes to mind is, I think, either 
Escape or Kidnapped, I don't remember which.  You are on the ninth floor of 
a building and have to make your way out.  There was word play involved. 
I've never played it, only heard of it from a friend, and that was several 
years ago.


---
Shepherds are the best beasts!
- Original Message - 
From: dark d...@xgam.org

To: Gamers Discussion list gamers@audyssey.org
Sent: Wednesday, November 24, 2010 6:26 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



That sounds great actually tom.

I've heard a good deal about Oregon Trail, but haven't turned up 
anything,  probably because aple basic stuff is harder to run.


It'll be really nice to finally get to play it, and to have a version 
which can be run on modern machines.


I'm always rather sad when really great games can't be played anymore.

Beware the Grue!

Dark.
- Original Message - 
From: Thomas Ward thomasward1...@gmail.com

To: Gamers Discussion list gamers@audyssey.org
Sent: Wednesday, November 24, 2010 11:58 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Dark,

Yeah. It isn't much as a game, but it should be pretty compatible with
anything that runs Python appplications. I'd imagine it would run on a
Braille Plus and similar devices since it has a Python interpreter
built in.  There are also Python versions for Windows CE so that means
I might be able to run the game on smart phones, notetakers, and
various things too. It has possibilities as a free simple game. I know
right now I'm playing the game on Linux, and getting my tail kicked by
the dealer. He is a really mean card shark.

Now, the next game I'll release is Oregon Trail as I know that game in
particular is in demand. I only have it partly finished, and I think
that will be really fun revisiting the classic Apple II games of my
childhood in a new and totally cross-platform version.

Smile.


On 11/24/10, dark d...@xgam.org wrote:

Hi Tom.

Ah, I missed this, ow irritating!

I'll see about some news, sinse even though we do have working 
accessible

blackjack, hopefully people will find both the cross platform bit and
example code interesting.

Beware the Grue!

Dark.


---
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. 



---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Charles,

Ah, that would be Kidnapped. That was a great text game for the Apple
II. If I could remember how to play it I could probably whip up a copy
in Python. This could turn into a classic case of going down memory
lane.

Interesting thing about this is with all the high tech games full of
sound, vidio, suppport for game controllers, etc we often forget how
fun and entertaining the classic text games were like Oregon Trail,
Kidnappped, Dungeon, Goldmine, the Infocom text adventures, that
proceeded all the glam of modern vidio games or audio games for that
matter. I spent a many happy hours in front of an Apple II-E playing
Oregon Trail, Kidnapped, and the rest of the classic text games. Which
is partly why I'm using them as demonstration games. Not only will
they aid new programmers, but they are fun and exciting text games
too.


On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 There are probably some Apple games that blind people cannot play unless
 they have Apple machines, too.  One that comes to mind is, I think, either
 Escape or Kidnapped, I don't remember which.  You are on the ninth floor of
 a building and have to make your way out.  There was word play involved.
 I've never played it, only heard of it from a friend, and that was several
 years ago.

 ---
 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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi,

Yeah, I am as well. I guess that is the price of technical
advancement. We are advancing so far so fast that games and other
software products we like quickly become outdated and disguarded as
progress marchs on. Usually company x never updates that game or
software, because they made their money, and no longer feel inclined
to upgrade their software. In the case of a really popular product
like Oregon Trail they actually did produce newer versions for Windows
3.1 and Mac OS, but that does us no good because they are more
graphical  and aren't accessible for a screen reader user. So one way
or another it seams old pproducts are left behind to be forgotten
about. Although, thats were the open source community have really
jumped into the gap.

For example, as you know there is a retro remake of Rocks and
Diamonds. Thats a game from the early 80's, and I can remember playing
it as a kid. Well, someone was nice enough to write a modern version
for Linux, Mac, and Windows. So games like that won't be forgotten
about.

I think given my skills as a programmer writing some retro remakes of
classics like Oregon Trail is what this community needs. We, like the
mainstream market, have become saturated with the idea that games have
to have flashy graphics, great audio, specialized game controllers,
etc to make a game good. However, I can think of many text only games
from the 80's I played all the time, and were just as fun if not quite
as high tech. Even today games like Sryth, which is html based, is
extremely involving and it isn't a high tech game either.

On 11/24/10, dark d...@xgam.org wrote:
 That sounds great actually tom.

 I've heard a good deal about Oregon Trail, but haven't turned up
 anything,  probably because aple basic stuff is harder to run.

 It'll be really nice to finally get to play it, and to have a version which
 can be run on modern machines.

 I'm always rather sad when really great games can't be played anymore.

 Beware the Grue!

 Dark.

---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Ryan,

Yes, I know about doc strings. Thing is though I personally don't like
them. I guess it has to do with the fact I come from a C/C++
background that using a doc string seams weird. Although, you have a
point if I am going to use these apps as training tutorials I should
use standard doc strings just to stick with standard Python coding
conventions.

On 11/24/10, Ryan Smith computerwi...@gmail.com wrote:
 Hi Thomas
 Nice job with this! I just won a round on level 2. I'm glad you've
 found Python as useful as I have. One suggestion though. I've noticed
 you document your Python methods like this:
 #Function: dealer_draw().
 #Description: Draws a new card for the dealer.

 Most Python programmers document their code with a DocString.  For example:

 def buildConnectionString(params):
 Build a connection string from a dictionary of parameters.

 Returns string.

 Triple-quotes allow more than one line, if you simply want one line,
 use one quote (like any string). There are a few reasons why you may
 want to use DocStrings. First off, you can access it by using the
 .__doc__ property. For example: buildConnectionString.__doc__.
 Here is a more useful example:
 from pydoc import help
 help(buildConnectionString)
 Help on function buildConnectionString in module __main__:

 buildConnectionString(params)
 Build a connection string from a dictionary of parameters.

 Returns string.

 While it probably isn't worth the time to change your code to use
 DocStrings, it might be useful to know in the future, especially if
 people are looking to learn from it.
 Thanks.
 -Ryan

---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Hayden Presley
Hi Thomas,

Lol...the house almost always kicks your butt at Blackjack. Though I haven't
tried it much yet, I intend to be trying it in the next few minutes.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Thomas Ward
Sent: Wednesday, November 24, 2010 5:51 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Hayden,

Mainly it is just an issue of system performance. Running compiled pyc
files will run faster than running a Python program from raw source.
In a small game like Blackjack I doubt it really matters much, but I
added the compiled pyc file anyway for performance sake.

So how do you like the new game? I'm getting my but kicked by the
computer. I lost three games and won two so far. Hmmm...I don't like
those odds.

Cheers!

On 11/24/10, Hayden Presley hdpres...@hotmail.com wrote:
 Hi Thomas,
 Just curious...why do we need the .pyc file? The .py file works fine.

 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] USA Blackjack 1.0 Released!

2010-11-24 Thread Charles Rivard
I haven't looked, but how many decks are being used?  Also, should there be 
3? or 4 files in the unzipped game folder.  I've played two games so far, 
and haven't actually won them by going all the way, but started with 100 
dollars and built it up to 1,000, then had to take a break for dinner so 
lost it on purpose in one game, then started with 100 and built it up to 
3,000 in the second game before having to go off and doing something else 
and so lost on purpose.


---
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 5:51 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Hayden,

Mainly it is just an issue of system performance. Running compiled pyc
files will run faster than running a Python program from raw source.
In a small game like Blackjack I doubt it really matters much, but I
added the compiled pyc file anyway for performance sake.

So how do you like the new game? I'm getting my but kicked by the
computer. I lost three games and won two so far. Hmmm...I don't like
those odds.

Cheers!

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

Hi Thomas,
Just curious...why do we need the .pyc file? The .py file works fine.

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] USA Blackjack 1.0 Released!

2010-11-24 Thread Charles Rivard
Hmm.  I wonder if this game could be gotten to work on a Pac Mate Omni?  It 
runs on, I think, Windows 6 or something like that, and have no clue if it 
has anything to do with Python or how that would work on such a PDA with a 
braille display.


---
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 5:58 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Dark,

Yeah. It isn't much as a game, but it should be pretty compatible with
anything that runs Python appplications. I'd imagine it would run on a
Braille Plus and similar devices since it has a Python interpreter
built in.  There are also Python versions for Windows CE so that means
I might be able to run the game on smart phones, notetakers, and
various things too. It has possibilities as a free simple game. I know
right now I'm playing the game on Linux, and getting my tail kicked by
the dealer. He is a really mean card shark.

Now, the next game I'll release is Oregon Trail as I know that game in
particular is in demand. I only have it partly finished, and I think
that will be really fun revisiting the classic Apple II games of my
childhood in a new and totally cross-platform version.

Smile.


On 11/24/10, dark d...@xgam.org wrote:

Hi Tom.

Ah, I missed this, ow irritating!

I'll see about some news, sinse even though we do have working accessible
blackjack, hopefully people will find both the cross platform bit and
example code interesting.

Beware the Grue!

Dark.


---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Hayden Presley
HI Charles,
Windows Mobile 6, tat is correct. I  couldn't tell you if Python
interpreters are made to run on Windows Mobile devices.

Best Regards,
Hayden


-Original Message-
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Charles Rivard
Sent: Wednesday, November 24, 2010 9:26 PM
To: Gamers Discussion list
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hmm.  I wonder if this game could be gotten to work on a Pac Mate Omni?  It 
runs on, I think, Windows 6 or something like that, and have no clue if it 
has anything to do with Python or how that would work on such a PDA with a 
braille display.

---
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 5:58 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!


 Hi Dark,

 Yeah. It isn't much as a game, but it should be pretty compatible with
 anything that runs Python appplications. I'd imagine it would run on a
 Braille Plus and similar devices since it has a Python interpreter
 built in.  There are also Python versions for Windows CE so that means
 I might be able to run the game on smart phones, notetakers, and
 various things too. It has possibilities as a free simple game. I know
 right now I'm playing the game on Linux, and getting my tail kicked by
 the dealer. He is a really mean card shark.

 Now, the next game I'll release is Oregon Trail as I know that game in
 particular is in demand. I only have it partly finished, and I think
 that will be really fun revisiting the classic Apple II games of my
 childhood in a new and totally cross-platform version.

 Smile.


 On 11/24/10, dark d...@xgam.org wrote:
 Hi Tom.

 Ah, I missed this, ow irritating!

 I'll see about some news, sinse even though we do have working accessible
 blackjack, hopefully people will find both the cross platform bit and
 example code interesting.

 Beware the Grue!

 Dark.

 ---
 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.


---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Charles Rivard
I think I know the answer, but here goes:  Any chance of you being allowed, 
without breaking any copyright laws, to sell packs of such games as these 
for a small fee?


---
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 7:02 PM
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!



Hi Charles,

Ah, that would be Kidnapped. That was a great text game for the Apple
II. If I could remember how to play it I could probably whip up a copy
in Python. This could turn into a classic case of going down memory
lane.

Interesting thing about this is with all the high tech games full of
sound, vidio, suppport for game controllers, etc we often forget how
fun and entertaining the classic text games were like Oregon Trail,
Kidnappped, Dungeon, Goldmine, the Infocom text adventures, that
proceeded all the glam of modern vidio games or audio games for that
matter. I spent a many happy hours in front of an Apple II-E playing
Oregon Trail, Kidnapped, and the rest of the classic text games. Which
is partly why I'm using them as demonstration games. Not only will
they aid new programmers, but they are fun and exciting text games
too.


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

There are probably some Apple games that blind people cannot play unless
they have Apple machines, too.  One that comes to mind is, I think, 
either
Escape or Kidnapped, I don't remember which.  You are on the ninth floor 
of

a building and have to make your way out.  There was word play involved.
I've never played it, only heard of it from a friend, and that was 
several

years ago.

---
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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Charles,

There should be four files in the directory which are as follows:

blackjack.py --- This is the source file.
blackjack.pyc --- This is the compiled game.
License.txt --- This is a copy of the General Public license agreement.
Readme.txt --- The basic instructions for the game.


As far as how many decks are being used that really isn't specified.
Although, the way it is designed there could be multiple cards of the
same type so we assume there is more than one deck here. That is just
simpler than having to check if a specific card has already been used
or not.  Remember I didn't want to make this too complex for beginners
so decided not to go with a full object oriented approach by adding
classes etc to handle things like what cards are in a player's hand or
which cards have already been picked up.


On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 I haven't looked, but how many decks are being used?  Also, should there be
 3? or 4 files in the unzipped game folder.  I've played two games so far,
 and haven't actually won them by going all the way, but started with 100
 dollars and built it up to 1,000, then had to take a break for dinner so
 lost it on purpose in one game, then started with 100 and built it up to
 3,000 in the second game before having to go off and doing something else
 and so lost on purpose.

 ---
 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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi,

I have no idea what the copyrights are on some of those games.
However, in my experience even though the copyrights on such games
haven't expired big companies aren't really enforcing them much any
more either.  Take the Infocom games as an example here.

Technically Activision baught up the rights for the original Infocom
games like Zork, Arthur, Hitch Hiker's Guide to the Galaxy, etc and
sold them for Windows 95 as a limited promotional deal. However, at
that time the internet was growing and people who had the games simply
uploaded the games to a website here and there and you could download
and play them with winfrotz, frotz, etc. Initially Activision was
really ticked about it, but let's face it those games were already old
by the time Activision baught them up and started selling them again.
Now days Activision isn't even selling them any more, and they are
more or less considered abandonware. If you can download and play them
with your  favorite zcode interpreter Activision isn't going to scream
too loudly as long as you don't sell them.

My point is whatever the copyright status is for old games like
Kidnapped, Oregon Trail, etc are as long as I copy them and release
them as freeware the copyright owners aren't likely to give a care who
gets them. If I sell them for a small fee then the copyright holder
might get a little annoyed that I'm making money and they aren't off
their idea. It is better safe than sorry in my opinion.

Smile.




On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 I think I know the answer, but here goes:  Any chance of you being allowed,
 without breaking any copyright laws, to sell packs of such games as these
 for a small fee?

 ---
 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] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi,

I don't think so. I didn't see a Python interpreter for Windows Mobile
devices on the main Python website. So I don't figure there is one
yet.

On 11/24/10, Hayden Presley hdpres...@hotmail.com wrote:
 HI Charles,
 Windows Mobile 6, tat is correct. I  couldn't tell you if Python
 interpreters are made to run on Windows Mobile devices.

 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.


Re: [Audyssey] USA Blackjack 1.0 Released!

2010-11-24 Thread Thomas Ward
Hi Charles,

Unfortunately, no. The Packmates use Windows mobile which I don't
think is supported by the Python interpreters yet. Someone would have
to try and cross compile it to Windows Mobile which I have no idea how
to do.

On 11/24/10, Charles Rivard woofer...@sbcglobal.net wrote:
 Hmm.  I wonder if this game could be gotten to work on a Pac Mate Omni?  It
 runs on, I think, Windows 6 or something like that, and have no clue if it
 has anything to do with Python or how that would work on such a PDA with a
 braille display.

 ---
 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.