Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
card shuffler
#21
phycowelder,

Your code has several statements that look like this:
Code:
ii = INT(RND(1) * 54 + 1)
That's not going to work. For random numbers from 1 to 54, you should have:
Code:
ii = INT(RND*(54 - 1 + 1)) + 1
which becomes:
ii = INT(RND*(54)) + 1

But don't worry, lots of people get this mixed up.
*****
Reply
#22
Ahh... yep. I used to do that same exact thing. Wink

One extremely minor difference though... Somehow, I picked up the habit of doing it backwards.


Code:
ii = 1 + INT(RND * 54 )

Not like it realy matters, but it is pretty funny. :lol:
Reply
#23
Potato Patato (not sure how to do that, but you get my point)
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)