char fate[3][50]={
"对方原地休息一回合\n",
"经济危机,您的钱才丢失800\n",
"恭喜您中彩票大奖!!奖金1000元!!\n"
};
int player_1_Setep=0;
int player_2_Setep=0;
int p1_x=1,p1_y=1;
int p2_x=1,p2_y=1;
int player_1_Gold=10000;
int player_2_Gold=10000;
int e_Gold_Get=500;
int flag_Shop_E=1;
int flag_Shop_E_p1=0;
int flag_Shop_E_p2=0;
int flag_Shop_O=1;
int flag_Shop_O_p1=0;
int flag_Shop_O_p2=0;
int flag_Shop_H=1;
int flag_Shop_H_p1=0;
int flag_Shop_H_p2=0;
int flag_Shop_T=1;
int flag_Shop_T_p1=0;
int flag_Shop_T_p2=0;
int flag_Shop_B=1;
int flag_Shop_B_p1=0;
int flag_Shop_B_p2=0;
int flag_Shop_C=1;
int flag_Shop_C_p1=0;
int flag_Shop_C_p2=0;
int flag_Shop_S=1;
int flag_Shop_S_p1=0;
int flag_Shop_S_p2=0;
if(x==1&&y==1&player==1){
int rand_T=-1;
int rand_B=-1;
rand_T=arc4random_uniform(10)+1;
rand_B=arc4random_uniform(10)+1;
player_1_Gold=player_1_Gold+500+e_Gold_Get*flag_Shop_E_p1+150*flag_Shop_T_p1*rand_T+150*flag_Shop_B_p1*rand_B;
}else if (x==1&&y==1&player==2){
int rand_T=-1;
int rand_B=-1;
rand_T=arc4random_uniform(10)+1;
rand_B=arc4random_uniform(10)+1;
player_2_Gold=player_2_Gold+500+e_Gold_Get*flag_Shop_E_p2+150*flag_Shop_T_p2*rand_T+150*flag_Shop_B_p2*rand_B;