Here is the latest, I added sound and made some improvements like once the backs are dealt then the hand is dealt on top of them and it waits. Press the space bar and then enter and it deals a new hand. Primitive I know but I think I'm making progress as far as structure etc. So below is the latest code but if you'd like the sounds and graphics as well I started a wiki page and posted the whole thing with sounds and pictures (artwork put together by me) as a zip file with a link at the end of this post. Its pretty small so check it out if you'd like to. I'd appreciate any and all input gang. Talk to you later. Oldnoob
DIM backgroundImage DIM bgSprite DIM sound DIM sound2 DIM card DIM Backs DIM Hand DIM dealhand DIM deal$ DIM s1,s2,s3,s4,s5 DIM t1,t2,t3,t4,t5 DIM ia, ib, ic, id, ja, jb, jc, jd, ka, kb, kc, kd, la, lb, lc, ld DIM ma, mb, mc, md, na, nb, nc, nd, oa, ob, oc, od, pa, pb, pc, pd DIM qa, qb, qc, qd, ra, rb, rc, rd, sa, sb, sc, sd, ta, tb, tc, td, ua, ub, uc, ud, v 'From here up is where everything is declared.
backgroundImage = LoadTexture("Data\\bg\bg.jpg") 'Load the background picture. bgSprite = NewSprite(backgroundImage)
Ok so I posted the above listing in the wrong place, it was supposed to be in the "Very basic basic" thread. I'll post it there but I don't know how to delet the above, or this one for that matter. Oops. Oldnoob.