Computer Science Canada Black Jack |
Author: | DVL_IAC [ Sun Mar 27, 2005 9:45 pm ] |
Post subject: | Black Jack |
lol my first game in turing! took me 3-4h lol i played for about 20 min and got : total wins - 18 comp wins - 21 ties - 4 draws - 6 [edit] i made an updated version. you can get it >Here< |
Author: | Naveg [ Sun Mar 27, 2005 9:48 pm ] |
Post subject: | |
wow, very nice! i especially love the music, that is some excellent sound, for midi that is |
Author: | DVL_IAC [ Sun Mar 27, 2005 9:55 pm ] |
Post 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 |
Author: | Mr. T [ Sun Mar 27, 2005 9:57 pm ] |
Post subject: | |
u should auto lose once u have over 21 |
Author: | Naveg [ Sun Mar 27, 2005 9:57 pm ] |
Post 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 |
Author: | Mr. T [ Sun Mar 27, 2005 10:04 pm ] |
Post subject: | |
you coulda saved alotta time on your code, if you had used procedures and arrays |
Author: | DVL_IAC [ Sun Mar 27, 2005 10:07 pm ] |
Post 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 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 Pwned wrote: you coulda saved alotta time on your code, if you had used procedures and arrays
meh |
Author: | Naveg [ Sun Mar 27, 2005 10:20 pm ] |
Post subject: | |
thanks for the link, i'll check it out |
Author: | ssr [ Sun Mar 27, 2005 10:53 pm ] |
Post 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 |
Author: | DVL_IAC [ Sun Mar 27, 2005 10:58 pm ] |
Post 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 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 |
Author: | ssr [ Sun Mar 27, 2005 11:02 pm ] |
Post subject: | |
lol ok |
Author: | Mr. T [ Sun Mar 27, 2005 11:24 pm ] |
Post subject: | |
ssr wrote: also, i thought the highest was 10 in a blackjack
nope, 11[ace]. |
Author: | jamonathin [ Mon Mar 28, 2005 1:32 pm ] |
Post 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. |
Author: | DVL_IAC [ Tue Mar 29, 2005 8:51 pm ] |
Post subject: | |
ok i'm makin a new version of this program is there any midi's any of u want me to add? |
Author: | [Gandalf] [ Tue Mar 29, 2005 10:47 pm ] |
Post subject: | Re: Black Jack |
DVL_IAC wrote: lol my first game in turing! took me 3-4h
lol i played for about 20 min and got : total wins - 18 comp wins - 21 ties - 4 draws - 6 Aren't ties and draws the same thing? |
Author: | jamonathin [ Wed Mar 30, 2005 9:29 am ] |
Post subject: | |
I never even noticed that, good eye Gandalf |
Author: | DVL_IAC [ Wed Mar 30, 2005 4:07 pm ] |
Post subject: | Re: Black Jack |
[Gandalf] wrote: DVL_IAC wrote: lol my first game in turing! took me 3-4h
lol i played for about 20 min and got : total wins - 18 comp wins - 21 ties - 4 draws - 6 Aren't ties and draws the same thing? ya i'll change that. |
Author: | person [ Wed Mar 30, 2005 6:32 pm ] |
Post subject: | |
i havent tried this game but in Black Jack, draws dont exist |
Author: | illu45 [ Wed Mar 30, 2005 9:11 pm ] |
Post subject: | |
person wrote: i havent tried this game but in Black Jack, draws dont exist
They do, house just usually wins on draws... |
Author: | DVL_IAC [ Fri Apr 08, 2005 6:08 pm ] |
Post subject: | |
ok i updated the black jack i think this will probably be my final version Changes: -You now have money to bet -You dont have to re start the program to change the music -More music (50 midi's total) -An option to make the computer randomly choose a midi -Made a tie and draw the same thing -Says 'Black Jack' with some sounds if you get 21 -If you go over 21 it doesn't ask you if you want to hit again. there's probably a few other changes but thats all i can remember i did for now theres still a few bugs i think but im too lazy to find and fix them |
Author: | Dylan-182 [ Thu May 19, 2005 11:59 pm ] |
Post subject: | |
whoa i like it, its nice but the music isnt playing for some reason hmm thats weird but oh well still a fun game i like it i think i might make something of the same effect sometime its cool |
Author: | Dylan-182 [ Fri May 20, 2005 12:00 am ] |
Post subject: | |
oops i just realized that this was an old topic my bad pplz lol |
Author: | DVL_IAC [ Fri May 20, 2005 8:35 pm ] |
Post subject: | |
hmm I edited that last version a bit a while ago because it started to lag after changing the music alot... i think i got it all fixed now though hmm the music should play... plays for me on both my comps i tested on plus my friends comps except for song number 2... that one doesn't wanna play for some reason |