#include<stdio.h>#include<time.h>#include<stdlib.h>int xgnum;//全局变量,当前小棍的数目void mainMenu();//提示int getxgNum(int rexg);//机器取棍数目int rand1_3();//机器随机取棍数目void main(){ int userget; int macget; bool overleap=false;//游戏结束标志 mainMenu(); time_t t; srand((unsigned) time(&t)); //初...