摘要: class Hero { public int ATN { get; set; } public int DEF { get; set; } public int HP { get; set; } public string Name { get; set; } public bool Attack(Her... 阅读全文
posted @ 2017-03-12 13:33 际为软件事务所 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 52张牌随机分给4个玩家,要求每个玩家的牌用一个一维数组表示。 我们采用模拟大法。初始化一副扑克牌,洗牌,发牌。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using S 阅读全文
posted @ 2017-03-12 12:37 际为软件事务所 阅读(1761) 评论(0) 推荐(0) 编辑