hello
For our school we got an assignement that said we had to make a cardgame, we chose blackjack.
We ran into a little problem at the beginning. we can make an array, but we can't use it to put our cards in !!
can anyone please help us ?
this is the code :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Collections;
using System.Text;
namespace BlackJackOpdracht
{
class Game
{
Dealer dDealer = new Dealer();
Speler sSpeler = new Speler();
Array[] mArray = new Array[52];
protected string mAfbeeldingsPad;
protected Image mAfbeelding;
public Game ()
{
for (int i = 0; i < 5; i++)
{
for (int j = 0; j < 14; j++)
{
mAfbeeldingsPad = "/Images/" + Convert.ToString(i) + "-" + Convert.ToString(j)+".png";
mAfbeelding = Image.FromFile(Convert.ToString(mAfbeeldingsPad));
mArray.push???????
}
}
}
}
}
}
grts
Nsmet