在C编程中使用链表创建单词拼图 [英] create word puzzle using linked list in c programming

查看:71
本文介绍了在C编程中使用链表创建单词拼图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每5格中的单词谜题包含一个字母.用户必须猜出列表中包含该单词.用户进行了15次尝试才能猜出该单词.

word puzzles contains alphabet in each box of 5.user must guess the word contains in the list.user has 15 trials to guess the word.

推荐答案

转到返回并阅读笔记,然后与您的讲师交谈.这项任务是让您考虑如何处理数据,如何从用户获取输入,如何比较不同的值等.如果我们发布解决方案,请至少尝试一下并看看您如何继续不会学到任何东西.
Go back and read your notes, and talk to your lecturer. This assignment is about getting you to think about how you can manipulate data, how to get input from the user, how to compare different values, etc. Give it a try at least and see how you get on, if we post a solution you will not learn anything.


首先要看看没有计算机的情况.
假装您正在处理游戏,而您的朋友正在玩.
您需要做什么才能开始游戏?
您的朋友需要做什么玩游戏?当他做某事时你如何回应?

解决后,请尝试将其转换为软件设计.从小处开始,然后以小块进行,每次进行测试.您的课程笔记应包含您需要的所有信息.如果您对某个特定部分有疑问,请询问该部分,我们将为您提供帮助.目前,我们唯一可以提供给您的代码就是整个项目,对任何人都无济于事!

试试吧!您可能会发现它并不像您认为的那么困难...
Start by looking at how you would do it without a computer.
Pretend you are handling the game, and your friend is playing.
What do you need to do to start the game?
What does your friend need to do to play the game? How do you respond when he does something?

When you have worked it out, try to convert that to a software design. Start small, and do it in little chunks, testing each time. Your course notes should have all the information you need. If you have problems with a specific part, ask about that part and we will be able to help. At the moment, the only code we could give you would be for the entire project, and that would not help anyone!

Try it! You may find it isn''t as difficult as you seem to think...


这篇关于在C编程中使用链表创建单词拼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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