php 写一个大富翁游戏,C++大富翁代码 现在要设计一个类似“大富翁”的游戏:有一条由20个格子组成的 联合开发网 - pudn.com...
C++大富翁代碼
所屬分類:Windows編程
開(kāi)發(fā)工具:C/C++
文件大小:349KB
下載次數(shù):6
上傳日期:2018-05-15 21:11:38
上 傳 者:紅黑二叉樹(shù)
說(shuō)明:??現(xiàn)在要設(shè)計(jì)一個(gè)類似“大富翁”的游戲:有一條由20個(gè)格子組成的環(huán)形跑道,
其中一個(gè)格子是起點(diǎn); 兩只小老鼠都從起點(diǎn)按相反方向出發(fā),一只老鼠
按正方向前進(jìn)且每輪前進(jìn)4格,另一只老鼠按逆方向 前進(jìn)且每輪前進(jìn)3格;
每只老鼠出發(fā)時(shí)都有100點(diǎn)生命值和100個(gè)金幣; 跑道由普通格子、帶金幣
格子、帶陷阱格子、帶障礙格子的格子等四種種格子組成;
游戲規(guī)則如下:
a)起點(diǎn)是普通格子;任何普通格子老鼠可順利通過(guò);
b)老鼠每路過(guò)或停留在一個(gè)帶金幣格子增加50個(gè)金幣;
c)老鼠停留在帶陷阱格子時(shí),損失生命值80點(diǎn);
d)老鼠路過(guò)帶障礙格子時(shí),本輪停止前進(jìn)。
(Now we need to design a game like "monopoly": there is an annular runway made up of 20 grids.
One of them is the starting point; two mice start from the opposite direction, a mouse.
Forward in a forward direction and 4 rounds in each round, while the other mouse advances in the opposite direction and moves 3 times in each round.
Each mouse has 100 life points and 100 gold coins on its departure.
Lattice, trap lattice, lattice with obstacles, four kinds of lattice.
The rules of the game are as follows:
A) the starting point is ordinary grid; any ordinary checker can pass smoothly.
B) each mouse passes or stays in a gold coin lattice to add 50 gold coins.
C) when a mouse stays in a trap lattice, it loses 80 of its life value.
D) when the mouse passes the barrier lattice, the wheel stops.)
文件列表:[舉報(bào)垃圾]
字符圖像例, 0 , 2016-08-31
字符圖像例\Step01_組織類.txt, 4309 , 2013-06-13
字符圖像例\Step02_實(shí)現(xiàn)合成功能.txt, 4535 , 2008-12-17
字符圖像例\Step03_實(shí)現(xiàn)深拷貝賦值.txt, 6763 , 2008-12-17
字符圖像例\Step04_實(shí)現(xiàn)Display.txt, 8815 , 2008-12-17
字符圖像例\Step05_完整.txt, 5934 , 2008-12-18
字符圖像例\大富翁, 0 , 2016-11-24
字符圖像例\大富翁.txt, 2260 , 2011-06-13
字符圖像例\大富翁\Debug, 0 , 2016-08-31
字符圖像例\大富翁\Debug\simgame.exe, 208946 , 2009-12-27
字符圖像例\大富翁\main.cpp, 441 , 2016-06-19
字符圖像例\大富翁\Release, 0 , 2016-08-31
字符圖像例\大富翁\Release\main.o, 3642 , 2016-06-19
字符圖像例\大富翁\Release\simgame.exe, 1051447 , 2016-06-19
字符圖像例\大富翁\Release\simgame.o, 3541 , 2016-06-19
字符圖像例\大富翁\simgame.cbp, 2346 , 2016-06-19
字符圖像例\大富翁\simgame.cpp, 1863 , 2016-06-19
字符圖像例\大富翁\simgame.depend, 757 , 2016-11-24
字符圖像例\大富翁\simgame.dsp, 4451 , 2009-12-27
字符圖像例\大富翁\simgame.dsw, 537 , 2009-12-27
字符圖像例\大富翁\simgame.h, 751 , 2009-12-27
字符圖像例\大富翁\simgame.layout, 737 , 2016-11-24
字符圖像例\大富翁\simgame.ncb, 33792 , 2009-12-27
字符圖像例\大富翁\simgame.opt, 49664 , 2009-12-27
字符圖像例\大富翁\simgame.plg, 248 , 2009-12-27
近期下載者:
相關(guān)文件:
收藏者:
總結(jié)
以上是生活随笔為你收集整理的php 写一个大富翁游戏,C++大富翁代码 现在要设计一个类似“大富翁”的游戏:有一条由20个格子组成的 联合开发网 - pudn.com...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: apache license 2.0如何
- 下一篇: 关于微信浏览器H5 React,Vue工