
-----------------------------------
person
Tue Mar 29, 2005 3:53 pm

Black Jack
-----------------------------------
i saw ppl talking bout black jack so....

i kno its messy but ill fix it lata

-----------------------------------
DVL_IAC
Tue Mar 29, 2005 4:12 pm


-----------------------------------
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?

-----------------------------------
post8k
Tue Mar 29, 2005 4:19 pm


-----------------------------------
sorry but the game is not working !!!

-----------------------------------
jamonathin
Tue Mar 29, 2005 5:06 pm


-----------------------------------
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.
 if a = 1 then
    if score + 11 > 21 then
        card (x) := 1
    else
        card (x) := 11
    end if
end if
Then if the score is over 21, change all previous aces to 1 (can only have one obviously).

if score > 21 then 
    for x : 1 .. totalcards %Checking if there are any aces in your hand
        if card (x) = 11 then %Changing the value
            card (x) := 1
        end if
    end for
end if

I hope this'll work, and sorry if you have this, only in a different variation, but i hope it'll help you somehow.  :?

-----------------------------------
Token
Tue Mar 29, 2005 7:56 pm


-----------------------------------
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

-----------------------------------
Naveg
Wed Mar 30, 2005 12:14 am


-----------------------------------
you need to put the pictures in the zip

-----------------------------------
person
Wed Mar 30, 2005 3:08 pm


-----------------------------------
sorry i forgot

-----------------------------------
Token
Wed Mar 30, 2005 3:38 pm


-----------------------------------
mmm thats nice but now try putting them both in the same zip  :lol:

-----------------------------------
jamonathin
Wed Mar 30, 2005 4:00 pm


-----------------------------------
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  :wink:

-----------------------------------
person
Wed Mar 30, 2005 6:26 pm


-----------------------------------
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)

-----------------------------------
jamonathin
Wed Mar 30, 2005 6:41 pm


-----------------------------------
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

-----------------------------------
Artimes
Tue Apr 12, 2005 3:31 pm


-----------------------------------
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.
