如何用C ++制作刽子手游戏 [英] How can I make hangman game with C++

查看:118
本文介绍了如何用C ++制作刽子手游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须与我的团队制作一个刽子手游戏,我不知道如何启动它

i需要使用c ++来制作它,我需要一个很好的建议如何启动它

i我是团队领导。我必须知道如何让这个游戏向我的朋友们解释它



我尝试了什么:



为这个项目寻找自上而下的设计

解决方案

你从需求规范开始,然后改进它以概述设计,然后进行详细设计,最后进行编码和测试。


引用:

我不知道如何开始它



你知道如何用一张纸和一支铅笔玩游戏。

写下程序解释游戏的每一步,然后要求你的团队成员盲目地遵循程序来玩电脑。当一个步骤太复杂时,改进程序,当一个步骤不清楚时,精炼。

最后的程序几乎是你的伪代码。



关于 EW的一些交易Djikstra自上而下方法

https://en.wikipedia。 org / wiki / Top-down_and_bottom-up_design [ ^ ]

https://en.wikipedia.org/wiki/Structured_programming [ ^ ]

https://en.wikipedia.org/wiki/Edsger_W._Dijkstra [ ^ ]

https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF [ ^ ]

i have to make a hangman game with my team and i do not know how to start it
i need to make it using c++ and i need a good advice how to start it
i am a team leader.i have to know how to make this game to explain it to my friends

What I have tried:

to find a top down design for this project

解决方案

You start with requirements specification, then refine that to outline design, and then to detailed design and finally to code and test.


Quote:

i do not know how to start it


You know how to play the game with a sheet of paper and pencil.
Write down a procedure explaining every steps of the game, then ask a member of your team to play the computer by following blindly the procedure. When a step is too complicated, refine the procedure, when a step is not clear, refine.
The final procedure will be almost your pseudo code.

Some trading about E.W. Djikstra top-Down method :
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]


这篇关于如何用C ++制作刽子手游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆