freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

二十一點(diǎn)游戲設(shè)計(jì)報告(編輯修改稿)

2024-08-29 23:13 本頁面
 

【文章內(nèi)容簡介】 settextstyle(TRIPLEX_FONT,HORIZ_DIR,2)。 outtextxy(120,60,What a pity!Can not save the money.)。} } if(b==2) { if((fp=fopen(,r=))==NULL){ settextstyle(TRIPLEX_FONT,HORIZ_DIR,2)。 outtextxy(120,60,What a pity!You rocord is lost!)。 } fprintf(fp,%d,money)。 if(fclose(fp)){ settextstyle(TRIPLEX_FONT,HORIZ_DIR,2)。 outtextxy(120,60,What a pity!Can not save the money.)。 } } } /*調(diào)用游戲界面*/ void youxijiemian() { int x,y,p,graphdriver,graphmode。 char s[30]。 /*存放轉(zhuǎn)換數(shù)據(jù)類型的數(shù)組*/ char a[8][2]={{0}}。 x=0。p=0。 graphdriver=DETECT。 initgraph(amp。graphdriver,amp。graphmode,)。 cleardevice()。 setbkcolor(GREEN)。 setcolor(LIGHTGRAY)。 setfillstyle(1,YELLOW)。 arc(250,10,220,320,220)。 setcolor(7)。 setfillstyle(1,9)。 arc(250,10,220,320,200)。 setcolor(LIGHTGRAY)。 line(500,2,500,477)。 line(500,240,640,240)。 settextstyle(DEFAULT_FONT,HORIZ_DIR,2)。 outtextxy(178,30,COMPUTER)。 outtextxy(194,280,PLAYER)。 outtextxy(20,360,MONEY)。 outtextxy(540,65,KEY)。 outtextxy(20,250,WAGER)。 settextstyle(TRIPLEX_FONT,HORIZ_DIR,2)。 outtextxy(524,105,Enter is Start)。 outtextxy(524,135,Esc is Quit)。 outtextxy(524,165,Y is Yes)。 outtextxy(524,195,N is No)。 rectangle(20,380,90,420)。 setfillstyle(1,6)。 settextstyle(0,0,1)。 setcolor(YELLOW)。 sprintf(s,%d,money)。 outtextxy(30,395,s)。 rectangle(20,275,90,310)。 settextstyle(2,0,5)。 setfillstyle(1,5)。 settextstyle(0,0,1)。 settextstyle(TRIPLEX_FONT,HORIZ_DIR,2)。 a[x][0]=getch()。 /*輸入籌碼*/ while(a[x][0]!=13||x==0) { if(a[x][0]=39。039。amp。amp。a[x][0]=39。939。){ outtextxy(25+x*8,295,a[x])。 x++。 } a[x][0]=getch()。 if(x==7amp。amp。a[x][0]!=13) a[x][0]=65。 } for(y=0。yx。y++) p=p*10+(a[y][0]39。039。)。 }/*調(diào)用發(fā)牌函數(shù)*/void fapai(){ int i。 int h,g。 h=g=2。/*開始各發(fā)兩張牌*/ player[0]=pai[0]。 player[1]=pai[1]。 paishu=2。 puter[0]=pai[5]。 puter[1]=pai[6]。 j=1。 m=1。 for(i=0。i2。i++){ wanjiapai(g)。g++。} for(i=0。i2。i++){ diannaopai(h)。h++。} j=2。 while(j5amp。amp。ky!=Key_N) /*顯示提示,詢問玩家是否要牌*/ { setcolor(RED)。 settextstyle(DEFAULT_FONT,HORIZ_DIR,2)。 outtextxy(524,300,CHOOSE)。 settextstyle(TRIPLEX_FONT,HORIZ_DIR,3)。 outtextxy(510,330, Do you want )。 outtextxy(510,350,another card?)。 outtextxy(510,385,Yes or No?)。 ky=bioskey(0)。 /*根據(jù)指令,決定是否發(fā)牌*/ switch(ky) { case Key_Y:{ player[j]=pai[j]。 wanjiapai(g)。 g++。 j++。 paishu++。 break。} case Key_N:{ DN()。 break。} default: break。 } jisuanDN(m)。 /*計(jì)算電腦牌的點(diǎn)數(shù)*/ } WJ()。
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1