Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
カードをランダムにシャッフルするサンプル
public struct Card{
// カードのマーク(スート)を保持
public int suit;
// カードの数字
public int number;
// ジョーカーかどうか
public bool isJoker;
public Card(int suit, int number, bool isJoker){
this.suit = suit;
this.number = number;
this.isJoker = isJoker;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.