Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 319 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 319 Bytes

挑选牙签游戏(C# Console开发)

  • 使用Console.ReadLine,Console.WriteLine和用户交互
  • 使用while和try catch和递归 实现 判断用户输入是否合法并重新输入,重复游戏
  • 不需要把牙签全部拿完,某些情况下可以提前判断出哪位用户输了
  • 具体逻辑见代码