From 0da02e1addfadf29cf2cb4eabcd703ad51f5612c Mon Sep 17 00:00:00 2001 From: "296289990@qq.com" <296289990@qq.com> Date: Thu, 10 Jan 2019 11:35:42 +0800 Subject: [PATCH] first commit --- 俄罗斯方块.c | 10 ++++++++++ 俄罗斯方块.exe | Bin 150270 -> 150270 bytes 2 files changed, 10 insertions(+) diff --git a/俄罗斯方块.c b/俄罗斯方块.c index 4d906ec..0524a74 100644 --- a/俄罗斯方块.c +++ b/俄罗斯方块.c @@ -690,6 +690,16 @@ void Gameplay() tetris->flag+=16; } } + if(ch==80){ + if(ifMove(tetris)!=0) + { + tetris->y+=2; + } + if(ifMove(tetris)==0) + { + tetris->y=tetris->y-2; + } + } if(ch == 32) //ոͣ { PrintTetris(tetris); diff --git a/俄罗斯方块.exe b/俄罗斯方块.exe index a7b0408f291b70bacfb20b5e4e92323b30e548f0..949d5603087c34f303d1addc5cf90db2cf64126c 100644 GIT binary patch delta 9942 zcmZu$3tW^{+JB!H2DvlbbX0_aKu}RpyytBVt=5Dwv}B3IJ!{8p zZNvSlugxy(PBmh-YF-fSg61k^8m?tyrf`_1on-sk^Z&vTx0dC$z; z+2(a;n^*H@w^@5fZf%_ErXT9I_3XP;W!*~M?ta!1Niww`aNuL#!fHLz={M{Rk7%l7 z9Ue10mW+`kdnp?{U@bMVmI0r8{+I*vCckId2G5Y-XT~c`)ou9hGQ%=?0(;H#6*<7n zioBAO{!=8>tH{)F&3;zkhP-o^@^;}uWK znWuNYoLR(*yrboaBDUPyl<{eyBwcPB=)e2-kJ0}7VOhbd)Qf@M0)Y}zLE44i^6je8|j-!zt3Xe6)e*~k{)K0{UhbFoWc1NVNFYcgFhWGyd`n57eIf9h>}o(_^k!k;CJZu#fyrs`M`5s> z8MKiiwl-3JU=mxT&8MsEO>G&yz}y1sk9mXYie z&)5TpD4$hi&!TUw?`2OQ+Rbi1m>9h-4%vo?Y;_{o=o89tV#VUDVq-={qn3ZU2{J zBx%$BfQ?6F_`YP#dFT?=nb(X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