Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
カードをランダムにシャッフルするサンプル
// 各マーク(スート)のIDを決める
const int Spade = 0;
const int Club = 1;
const int Heart = 2;
const int Diamond = 3;
List<int> suits = new List<int>(){Spade, Club, Heart, Diamond};
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.