Computer Science Canada Black Jack |
Author: | person [ Tue Mar 29, 2005 3:53 pm ] |
Post subject: | Black Jack |
i saw ppl talking bout black jack so.... i kno its messy but ill fix it lata |
Author: | DVL_IAC [ Tue Mar 29, 2005 4:12 pm ] |
Post subject: | |
hmm i get this error everytime i try to do somethin in it "illeagal picture ID number" did u use pics then not include em with the zip file? |
Author: | post8k [ Tue Mar 29, 2005 4:19 pm ] |
Post subject: | |
sorry but the game is not working !!! |
Author: | jamonathin [ Tue Mar 29, 2005 5:06 pm ] | ||||
Post subject: | |||||
May i suggest including the pictures with the program, lol. And also, i was reading your program and you shouldn't ask to make the ace 1 or 11, do it automatically.
Then if the score is over 21, change all previous aces to 1 (can only have one obviously).
I hope this'll work, and sorry if you have this, only in a different variation, but i hope it'll help you somehow. |
Author: | Token [ Tue Mar 29, 2005 7:56 pm ] |
Post subject: | |
in my program what i did was made the aces add to the count of a variable, and then once the user stayed, it added them all up as 11's untill if it would add as 11 it would be over then it added as 1 |
Author: | Naveg [ Wed Mar 30, 2005 12:14 am ] |
Post subject: | |
you need to put the pictures in the zip |
Author: | person [ Wed Mar 30, 2005 3:08 pm ] |
Post subject: | |
sorry i forgot |
Author: | Token [ Wed Mar 30, 2005 3:38 pm ] |
Post subject: | |
mmm thats nice but now try putting them both in the same zip |
Author: | jamonathin [ Wed Mar 30, 2005 4:00 pm ] |
Post subject: | |
There's quite a few things you can work on. It's probabily my monitor, but the problem with using "graphics:max;max" is that it isn't the same on everyone's comp. Half of the third card is cut off. You can leave it at max;max, just make the first card closer the money. Also, I never know what the computer has. It seems like i randomly win or lose (i know its not set up like that). You should show the computer's cards, or at least his score. And i shouldn't have to add up my score, it should be displayed. Also, if i bust, i can keep hitting, then i get an ace and it asks me 1 or 11 (do it auto.) and then it keeps saying BUST. Just exit the loop and display the "again" button. Also, your program doesn't work right the first time, it clicks in on the second try. There are some other things you can work on (i.e. dullness), but other than that good try, just fix up those little things and it'll be fine |
Author: | person [ Wed Mar 30, 2005 6:26 pm ] |
Post subject: | |
1) i have the comp's cards (u cant see it due to ur monitor...wats the dimensions in pixels??) 2) ill fix the problem soon...i havent opened it since i posted....(stupid drama hw) |
Author: | jamonathin [ Wed Mar 30, 2005 6:41 pm ] |
Post subject: | |
person wrote: 1) i have the comp's cards (u cant see it due to ur monitor...wats the dimensions in pixels??)
I have no idea, juss crappy comp sci class moniters, i cant imagine anything over 850;600 |
Author: | Artimes [ Tue Apr 12, 2005 3:31 pm ] |
Post subject: | |
The computers at my school can support high-colour and true-colour from 640x480 ... 1280x1024 res. I use 1024 x 768 because they're 15" monitors, and the max res is a little blury. |