搜索资源列表
game_Majiang
- 用C++开发的中国麻将游戏(单机版),可以做为学习的范例。 —————————————————————————————— 游戏的基本运行 ——————————————————————————-———— 运行前会先洒色子,根据色子与庄家给各玩家初始化手中的牌 1.初始化(根据庄家和色子数给每个人发12张牌) 2.牌墙发牌给庄家(m_nActive活动状态给庄家) 3.根据活动状态玩家是否是出牌状态(m_nState==1):如果是电脑,让其思考最差的一张牌并出牌,如果是
4doudizhu
- The last few days have found me very restless. This evening as I sat in the yard to enjoy the cool, it struck me how different the lotus pool I pass every day must look under a full moon. The moon was sailing higher and higher up the heavens, the sou
ZhouQiuYouXi-TurboC
- 1.绘制一个台球案子,上面有两个台球。 2.给出控制台球位置以及运行方向的界面(自己设定)。 3.若台球碰壁,则根据镜面反射原理求出台球下一步的运动方向并作匀速直线运动。 4. 当台球发生撞击时,按照弹性碰撞原理,主撞击球改变运动方向,被撞击球开始进行匀速直线运动。 5.当台球距离孔洞距离很小时,应该让球消失,并显示进球的信息。 6.当按下某个按键时,退出台球运动程序。 -1. Draw a billiard case, the above two billiards.
Tetris-game-source-code
- 实现了方块的旋转和墙的生成 俄罗斯方块游戏源代码-Achieve a box rotation and wall Tetris game source code generation
贪吃蛇
- 这是一款比较需要耐心的游戏,用游戏把子上下左右控制蛇的方向,寻找吃的东西,每吃一口就能得到一定的积分,而且蛇的身子会越吃越长,身子越长玩的难度就越大,不能碰墙,更不能咬自己的尾巴,等到了一定的分数,就能过关,然后继续玩下一关!(This is a game of patience, with the game handle under control around the direction of the snake, looking for something to eat, every mo