using System;
using System.Dynamic;
namespace WSL
{
class main : Many
{
static void Main(String[] args)
{
main ma = new main();
ma.Player = 3;
ma.SystemPlayer = 1;
ma.Game(ma.Player,ma.SystemPlayer);
if (Many.Win == false)
{
Console.WriteLine("输了");
}
else if (Many.Win == true)
{
Console.WriteLine("赢了awa");
}
else if(Many.Winner == true)
{
Console.WriteLine("平局");
}
}
}
class Many
{
private Random random = new Random();
protected int Q { get; set; }
protected int Player { get; set; }
protected int SystemPlayer { get; set; }
protected static bool Win { get; set; }
protected static bool Winner
C#简单的石头剪刀布游戏 初学不算太好马上更新
最新推荐文章于 2023-01-04 17:09:36 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)