Hey all,
I'm new here and to VB.NET and i don't know if i should post this on this part of the forum, so forgive me if i'm wrong.
We have to make a blackjack game for school. I'm not gonna ask if anyone can make it for me, but i'm just stuck with arrays. We have to use arrays, and we want to use them to shuffle our card deck. We have something like this, but i doubt it's correct.
Dim cards(12) As Integer
cards = New Integer() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}
I don't know if it's correct, and in the small possiblity that it is, how can i integrate it in my code? I'm using the array in a class i made.
Thanks in advance.
I'm new here and to VB.NET and i don't know if i should post this on this part of the forum, so forgive me if i'm wrong.
We have to make a blackjack game for school. I'm not gonna ask if anyone can make it for me, but i'm just stuck with arrays. We have to use arrays, and we want to use them to shuffle our card deck. We have something like this, but i doubt it's correct.
Dim cards(12) As Integer
cards = New Integer() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}
I don't know if it's correct, and in the small possiblity that it is, how can i integrate it in my code? I'm using the array in a class i made.
Thanks in advance.