.....
private void Form1_Load(object sender, EventArgs e){
string[] face = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "j", "q", "k" };
string[] suit = { "spades", "hearts", "diamonds", "clubs" };
for (int i = 0; i < deck.Length; i++)
deck[i] = new Card(face[i % 13], suit[i / 13]);
current = -1;
}
[此贴子已经被作者于2019-10-5 22:18编辑过]