User Profile

Collapse

Profile Sidebar

Collapse
EXotiX
EXotiX
Last Activity: Oct 30 '07, 01:37 PM
Joined: Jun 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • EXotiX
    started a topic Setting Values of Cards

    Setting Values of Cards

    Hey I have a blackjack game and I am unsure on how to set the values of the cards can anyone help?

    [CODE=vb]Option Explicit
    Const NumItems As Integer = 53

    Public Sub RandomizeCards( )
    Dim i As Integer
    Dim j As Integer
    Dim k As Integer
    Dim l As Integer
    Dim m As Integer
    Dim n As Integer
    Dim o As Integer
    Dim p As Integer

    Dim tmp As Integer
    ...
    See more | Go to post
    Last edited by Killer42; Jun 21 '07, 10:07 AM. Reason: Added [CODE=vb] tag

  • EXotiX
    started a topic Blackjack randomizing an array help

    Blackjack randomizing an array help

    hey im new to vb6 and I am making a blackjack game but can not randomize the array correctly. Could you help please

    [CODE=vb]Option Explicit
    Const NumItems As Integer = 53

    Public Sub RandomizeCards( )
    Dim i As Integer
    Dim j As Integer
    Dim tmp As Integer

    ' Randomize the array.
    Randomize
    For i = 1 To NumItems - 1
    ' Pick a random entry....
    See more | Go to post
    Last edited by Killer42; Jun 19 '07, 10:00 AM. Reason: Added [CODE=vb] tag
No activity results to display
Show More
Working...