添加了一个对话,选择现有的或随机的世界在新的游戏。
Added a dialogue to select existing or random world on New Game.
在真正的游戏中你可能会想为每一个给出的情况加入多重响应,然后随机的选择它们。
In a real game you probably would want to add multiple responses for each given situation and then randomly select among them.
一个猜单词的小游戏wordZ。该程序将从一个字典中随机地选择一个单词,并用-字符告诉用户该单词有几个字母。
The program will randomly choose a dictionary, a word and use '-' character to tell the user there are several letters of the word.
应用推荐