Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Black Jack
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DVL_IAC




PostPosted: Sun Mar 27, 2005 9:45 pm   Post subject: Black Jack

lol my first game in turing! Very Happy took me 3-4h

lol i played for about 20 min and got :
total wins - 18
comp wins - 21
ties - 4
draws - 6
Razz


[edit]
i made an updated version. you can get it >Here<



Black Jack.zip
 Description:
My First Game

Download
 Filename:  Black Jack.zip
 Filesize:  427.13 KB
 Downloaded:  750 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Naveg




PostPosted: Sun Mar 27, 2005 9:48 pm   Post subject: (No subject)

wow, very nice!

i especially love the music, that is some excellent sound, for midi that is
DVL_IAC




PostPosted: Sun Mar 27, 2005 9:55 pm   Post subject: (No subject)

lol i was gonna use mp3's for the music because i got the mp3's of most of those songs but then thought that would be too big and im on 56k so it'd take forever to submit so the midi's will have to do Razz
Mr. T




PostPosted: Sun Mar 27, 2005 9:57 pm   Post subject: (No subject)

u should auto lose once u have over 21
Naveg




PostPosted: Sun Mar 27, 2005 9:57 pm   Post subject: (No subject)

even still, those midi's are amazing, i couldnt believe they were midi, thought they had to be mp3...i was listening to clocks
Mr. T




PostPosted: Sun Mar 27, 2005 10:04 pm   Post subject: (No subject)

you coulda saved alotta time on your code, if you had used procedures and arrays Smile
DVL_IAC




PostPosted: Sun Mar 27, 2005 10:07 pm   Post subject: (No subject)

Pwned wrote:
u should auto lose one u have over 21

maybe if i make an update to the game... if i do make an update i was thinking of also adding another comp player and making you able to switch the mus without re starting and maybe adding comments as your score goes up or even adding money... like u and comp start with 100 and go on from there but thats if i decide to edit it Razz

Vladimir wrote:

even still, those midi's are amazing, i couldnt believe they were midi, thought they had to be mp3...i was listening to clocks


i get most of my midi's from www.findmidis.com Very Happy

Pwned wrote:
you coulda saved alotta time on your code, if you had used procedures and arrays


meh Posted Image, might have been reduced in size. Click Image to view fullscreen.
Naveg




PostPosted: Sun Mar 27, 2005 10:20 pm   Post subject: (No subject)

thanks for the link, i'll check it out
Sponsor
Sponsor
Sponsor
sponsor
ssr




PostPosted: Sun Mar 27, 2005 10:53 pm   Post subject: (No subject)

I was just wondering
ok I suck at blackjack, but I thought there is a rule likr if u get Ace, it can be either 1 or 11
also, i thought the highest was 10 in a blackjack
but I might be wrong

anyway, its good especially with the music Very Happy
DVL_IAC




PostPosted: Sun Mar 27, 2005 10:58 pm   Post subject: (No subject)

aces can be either 1 or 11 but i was too lazy to let you choose if u got an ace to make it 1 or 11 Razz so if u get an 11 it means the comp choose for you to make ur ace 11 or if u got a 1 the comp choose for u to make ur ace 1 Razz
ssr




PostPosted: Sun Mar 27, 2005 11:02 pm   Post subject: (No subject)

lol ok Very Happy
Mr. T




PostPosted: Sun Mar 27, 2005 11:24 pm   Post subject: (No subject)

ssr wrote:
also, i thought the highest was 10 in a blackjack

nope, 11[ace].
jamonathin




PostPosted: Mon Mar 28, 2005 1:32 pm   Post subject: (No subject)

I've made blackjack before and its really simple, if the total of your score is over 21 with an ace, then make the ace 1. It'll just take up a few lines and your done. And assign a variable to determine if there is an ace, so that if you start with an ace and make it 11, then add another number later and it gets over 21, you can change your previous ace to a 1, rather than an 11.
DVL_IAC




PostPosted: Tue Mar 29, 2005 8:51 pm   Post subject: (No subject)

ok i'm makin a new version of this program Razz is there any midi's any of u want me to add? Razz
[Gandalf]




PostPosted: Tue Mar 29, 2005 10:47 pm   Post subject: Re: Black Jack

DVL_IAC wrote:
lol my first game in turing! Very Happy took me 3-4h

lol i played for about 20 min and got :
total wins - 18
comp wins - 21
ties - 4
draws - 6
Razz


Aren't ties and draws the same thing?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 23 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: