我记得大约10年前,在正式的Linux存储库中,有一个程序,模拟一个像素网格上的生物生命(每个像素占用一个像素)。“游戏”的目的是为这些生物编写一个代码,它可以在这个世界中生存和复制(即您编辑C++源代码并重新编译项目以添加一个新的生物)。你也可以决定一些参数,比如你的生物会有多强。然而,所有这样的“好”特征都是以根据预定义的公式增加对这些生物的消耗为代价的。
编译后,您可以运行它,并观察您的生物,它们是(大部分)绿色矩形上的像素(大部分“世界”被草之类的东西“占据”)。观察这些生物是如何生存、繁殖或灭绝的。
有人能告诉我,这个“游戏”的名字是什么?
很可能是在RedHat存储库中
经过搜索,我没有找到最初的程序。似乎,最近的现代“亲戚”是阿维达。
发布于 2014-01-16 10:32:46
发布于 2014-01-16 10:37:10
1984年,使用编程游戏语言发布了名为核心战争的红码。许多实现存在(Ed)。用来裁判核战争战役的模拟器叫做MARS,内存阵列红码模拟器。一个著名的模拟器是pmars。pmars的来源可以在sourceforge上找到。例如,您可以在Gentoo上找到包,如pmars-sdl。

从手册中:
NAME
pmars - portable corewar system with ICWS'94 extensions
SYNOPSIS
pmars [ option ... ] file1 [ file(s) ]
DESCRIPTION
pMARS (portable Memory Array Redcode Simulator) is a corewar interpreter with
multi-platform support. pMARS currently runs on UNIX systems, PC/DOS, VMS,
Amiga (AmigaDOS command line), and the Mac. pMARS implements the ICWS'94 draft
standard, but can also be used in ICWS'88 mode. The base system includes a
graphical core display for UNIX (curses, X-windows), PC/linux (svgalib), PC/DOS
and the Mac (see APPENDIX). A line-oriented debugger is included to help in
writing warriors for the ICWS'94 draft standard.
pMARS runs one or more warriors written in Redcode that are provided as file(s)
on the command line. Running a single warrior is supported for debugging. Two
warriors are pitted against each other for standard play, but up to 36 warriors
can be named for "multi-warrior" core war. If the warrior(s) assemble without
error they are loaded into the core array and executed in round-robin mode
starting with the first warrior. Warrior 1 is loaded starting at core position
0, warrior 2, 3, etc., at either a random or fixed position. For fairness the
starting order is rotated after each round.https://unix.stackexchange.com/questions/109587
复制相似问题