找回密码
 立即注册
大科技语录:
查看: 1164|回复: 1

关于“生命游戏”的搜索结果

[复制链接]
发表于 2008-10-29 03:28 | 显示全部楼层 |阅读模式
关联:《大科技》2008年10月刊《计算机孕育的生命》文

        可能和很多读者一样,我看到这篇文章,第一感觉是兴奋。“生命游戏”我是有印象的,很久很久以前在国内的一本杂志(SFW,不知道这里是否有什么禁忌)提到过。
        当然,“生命游戏”我感觉过于呆板、原始、简陋,倒是后面提到的“生命摇篮”考虑到了繁衍、变异、资源、死亡等等必要因素,设计上较为完备,让人更有兴趣。

        作为21世纪初的中国网民,不用大脑指挥,手指也会找到baidu栏,输入这两组关键词,但几无所获——有一个中文程序,论坛内已经几次提供下载,勉强算是一个“生命游戏”。

        由于文中提到的都是翻译过来的中文,只好根据猜测,寻求Google大神的指点。一番周折后,找到一些东西。

约翰·康韦=John Conway
生命游戏=game of life

由于game of life和更著名的一个桌上游戏同名,因此维基百科给这个游戏的页面名为“Conway's Game of Life”,到wikipedia.com很容易找到,提供英文链接如下:http://en.wikipedia.org/wiki/Con ... ay.27s_Game_of_Life,页内详细介绍了规则、源起、变化、相关程序等等。

如果你想看到和杂志上第7页大图一模一样的程序,请访问链接
http://www.math.com/students/wonders/life/life.html
点击页面中的按钮"Play Life",就会弹出你想看到的游戏。

生命游戏在国外玩家手中,已经演化出了至少二三十个程序,包含不同的规则,甚至能经过预先计算让小黑块们演示出一小段动画,还有彩色的……除了程序,还有许多预置好的宇宙、如果想下载不同的程序,可以访问这个链接
http://www.ibiblio.org/lifepatterns/

另外还有生命游戏的词典,包含了所有可能出现的形状(至少我这么认为)
http://www.argentum.freeserve.co.uk/lex.htm

好了,下面轮到我们的重头戏,“生命摇篮”登场了。

可惜的是,我没找到任何有关“生命摇篮”的资料,包括文中提到的托马斯·雷和“汤”。
我找过bassinet cradle thomas tomas rae ray soup等等,除了找出个同名的古墓丽影游戏,没有了。在game of life所属的cellular automata类型圈子里,根本看不到有这么一个著名的家伙存在。

看了几十个网页后,我只好投降了。真希望作者能提供英文名啊(强烈呼吁这种文章附带相关资料,哪怕只有几个单词也好……)。

部分国外网址,国内有时无法访问。以上。

评分

参与人数 1 +10 收起 理由
风达 + 10 精品文章

查看全部评分

发表于 2008-10-29 10:24 | 显示全部楼层
基本上几个版本我都下了,很快放在学习之余那里。
[color=green]description of "Game of Life"  in English[/color]


What is the Game of Life?
by Paul Callahan The Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the "pieces" are placed in the starting position, the rules determine everything that happens later. Nevertheless, Life is full of surprises! In most cases, it is impossible to look at a starting position (or pattern) and see what will happen in the future. The only way to find out is to follow the rules of the game. Play Life Now!




Draw a pattern on the grid and click "Go".

Applet help

Applet by
Alan Hensel



Rules of the Game of Life
Life is played on a grid of square cells--like a chess board but extending infinitely in every direction. A cell can be live or dead. A live cell is shown by putting a marker on its square. A dead cell is shown by leaving the square empty. Each cell in the grid has a neighborhood consisting of the eight cells in every direction including diagonals.

To apply one step of the rules, we count the number of live neighbors for each cell. What happens next depends on this number.

A dead cell with exactly three live neighbors becomes a live cell (birth).   

A live cell with two or three live neighbors stays alive (survival).   

In all other cases, a cell dies or remains dead (overcrowding or loneliness).     

Note: The number of live neighbors is always based on the cells before the rule was applied. In other words, we must first find all of the cells that change before changing any of them. Sounds like a job for a computer!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|大科技

GMT+8.8, 2024-12-23 23:39 , Processed in 0.056867 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表