未验证 提交 49cd8321 编写于 作者: C CodeCppPython 提交者: Gitee

update Create/create_world.py.

Signed-off-by: NCodeCppPython <13361884+lzx-cod-xes@user.noreply.gitee.com>
上级 37543e6a
#TODO 详细情况可查阅block_show文件
from HPUL.py import*
OUTPUT = ""# 客户端输出,用于警告、提示玩家(UI的一部分)
CIN="" # 玩家输入(致敬C++)
world = [[" "for i in range(15)]for j in range(40)] # 40x15的世界
class CreateHole:
......@@ -44,4 +45,5 @@ def assemble_bn(): #主函数
world = [[" " for i in range(width)] for j in range(height)]
generate_terrain(world, berlin_noise, threshold)
###########################################################################
instruct_list=["w","a","s","d","/help"] #用于储存指令的列表(随时添加)
OUTPUT_list=["指令执行完成","指令执行完成","指令执行完成","指令执行完成","输入w向上移动,a向左移动,s向下移动,d向右移动"]#储存客户端输出语句的列表(随时添加)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册