更改

第47行: 第47行:     
1986年离开剑桥后,他被任命为普林斯顿大学数学'''John von Neumann'''主席。
 
1986年离开剑桥后,他被任命为普林斯顿大学数学'''John von Neumann'''主席。
 +
== 康威生命游戏简介==
 +
[[File:Gospers glider gun1.gif |拇指|右| Conway的人生游戏:单个的(细胞自动机)滑翔机枪]]
 +
康威(Conway)以生命游戏的发明而闻名,生命游戏是[[元胞自动机 Cellular Automata]]的早期实例之一。他在该领域的最初实验是使用笔和纸完成的,远早于个人计算机的出现。
 +
 +
自1970年马丁·加德纳(Martin Gardner)在“ Scientific American”中推出游戏以来,<ref>{{Cite magazine|title=Mathematical Games: The fantastic combinations of John Conway's new solitaire game "Life"|first=Martin|last=Gardner|magazine=Scientific American|volume=223|date=October 1970|pages=120–123}}</ref>它产生了数百个计算机程序,网站和文章。</ref> it has spawned hundreds of computer programs, web sites, and articles.<ref>{{Cite web |url=https://www.dmoz.org/Computers/Artificial_Life/Cellular_Automata/Conway%27s_Game_of_Life |title=DMOZ: Conway's Game of Life: Sites |access-date=11 January 2017 |archive-url=https://web.archive.org/web/20170317103511/http://www.dmoz.org/Computers/Artificial_Life/Cellular_Automata/Conway%27s_Game_of_Life/ |archive-date=17 March 2017 |url-status=dead }}</ref> 它是趣味数学的主要内容。有大量的wiki专门用于管理和分类游戏的各个方面。<ref> [http://www.conwaylife.com/wiki/Main_Page LifeWiki] </ ref>在理论上以及在编程和数据显示方面的实践活动一直是计算机实验室的最爱。<ref>[https://www.youtube.com/watch?v=E8kUJL04ELA Does John Conway hate his Game of Life?] (video)</ref> 康威有时说他讨厌生命游戏,很大程度上是因为它掩盖了他所做的其他一些更深入,更重要的事情。不过,该游戏确实帮助启动了一个新的数学分支,即[[元胞自动机 Cellular Automata]]领域。<ref>MacTutor History: The game made Conway instantly famous, but it also opened up a whole new field of mathematical research, the field of cellular automata.</ref>
 +
生命游戏现在被称为“图灵完备 Turing completeness”。<ref>Rendell (2015)</ref><ref name=case>Case (2014)</ref>
 +
 +
===游戏规则===
 +
 +
*任何四周邻居存活数少于两个的存活网格将死亡,因为人口稀少。
 +
 +
*任何四周邻居存活数多于三个的存活网格将死亡,因为过度拥挤。
 +
 +
*任何四周邻居存活数等于两个或三个的存活网格将在下一代中继续存活。
 +
 +
*任何已经死亡的网格,如果周围邻居存活数为3个,将重新复活。
 +
 
== 康威生命游戏python 实现==
 
== 康威生命游戏python 实现==
 
[https://github.com/Wangler2333/Conway-s-Game-of-Life/blob/master/conway.py 康威生命游戏python 实现下载:]
 
[https://github.com/Wangler2333/Conway-s-Game-of-Life/blob/master/conway.py 康威生命游戏python 实现下载:]
1,526

个编辑