论文部分内容阅读
前不久我的朋友让我做了一个简单的心理测试游戏,我突发奇想,就把它做成了电脑占卜软件供老师和同学在课余消遣之用,后来又上传到了《网络科技时代》的网站(http://www.nettime.net.cn),结果很多人给我发来Email反馈,说“电脑占卜真灵”。我在受宠若惊之余只好写下此文,一是和大家共同探讨小软件制作的一点心得,二是解释一下不是“电脑占卜灵”而是“心诚则灵”——纯粹是心理作用而已。 如果你对软件制作不感兴趣,那么你可以跳过下面的文字,直接下载这个软件试试。不过我想,试过之后你一定会想探究电脑占卜的神秘性,然后你就不得不继续看下文,呵呵。软件运行的界面如图所示,该软件我是采用Delphi 5制作完成的,所以我假设你有一丁丁点Delphi的基础。当然,工具的选择仅仅是个人喜好而已,明白原理之后你用VB还是VC之类的也一样可以。 利用可视化开发工具制作软件的第一步是规划,这个软件太小了——小到不用规划的地步。 第二步是构造界面,你只要利用标签、按钮等构造好软件的界面就可以了。可惜我没有美术细胞,要不完全可以给大家带来一个漂亮的界面。
Not long ago my friend let me do a simple psychological test game, I whim, put it into a computer divination software for teachers and classmates after school recreational purposes, and later uploaded to the “era of network technology” Web site (http://www.nettime.net.cn), the results of many people sent me an e-mail feedback, said “computer divination spirit.” I was flattered but had to write this article, one is to discuss with everyone a little experience in the production of small software, the second is to explain not “computer divination spirit” but “heart since spirit” - purely psychological role. If you are not interested in software production, then you can skip the following text, download the software directly to try. But I think, after trying you will want to explore the mystery of computer divination, and then you have to continue to read the following, huh, huh. Software interface as shown, the software I use Delphi 5 production done, so I assume you have a little bit of Delphi based. Of course, the choice of tools is just personal preferences, understand the principle after you use VB or VC can be the same. The first step in making software out of visual development tools is planning, and the software is too small-not too small. The second step is to construct the interface, as long as you use tags, buttons, etc. to construct a good software interface on it. Unfortunately, I do not have art cells, or can not give us a beautiful interface.