打开主菜单
首页
随机
登录
设置
关于集智百科 - 复杂系统|人工智能|复杂科学|复杂网络|自组织
免责声明
集智百科 - 复杂系统|人工智能|复杂科学|复杂网络|自组织
搜索
更改
←上一编辑
下一编辑→
约翰·何顿·康威 John Horton Conway
(查看源代码)
2020年4月12日 (日) 11:24的版本
添加637字节
、
2020年4月12日 (日) 11:24
→效果展示
第192行:
第192行:
</syntaxhighlight>
</syntaxhighlight>
===效果展示===
===效果展示===
+
<syntaxhighlight lang="python">
+
#-------------Conway随机初始条件-------------
+
python conway.py
+
</syntaxhighlight>
+
+
<syntaxhighlight lang="python">
+
#-------------Conway滑翔机-------------
+
python conway.py --glider
+
</syntaxhighlight>
+
+
<syntaxhighlight lang="python">
+
#-------------Conway发射器-------------
+
+
python conway.py --gosper
+
</syntaxhighlight>
+
+
其他参数:
+
<syntaxhighlight lang="python">
+
#-------------地图大小-------------
+
python conway.py --grid-size
+
#-------------输出位置-------------
+
python conway.py --mov-file
+
#-------------刷新间隔-------------
+
python conway.py --interval
+
</syntaxhighlight>
==Conway's Game of Life==
==Conway's Game of Life==
费米子
1,526
个编辑