📄 gameoflife.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0035)http://www.bitstorm.org/gameoflife/ -->
<HTML><HEAD><TITLE>Artificial Societies - The Sugarscape</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META
content="a new mechanism for studying populations and their evolution based on a model proposed by J. Epstein & R. Axtell. It's written in Java."
name=description>
<META content="The Sugarscape AI simulation, Java applet" name=keywords>
<!--LINK href="favicon.ico" rel="shortcut icon"> -->
</HEAD>
<BODY bgColor=#ffffff>
<H3>The Sugarscape AI simulation</H3>
<TABLE>
<TR>
<TD><IMG alt="The Sugarscape AI simulation" src="images/head.jpg"></TD>
<TD><P>Sugarscape is not your typical computer game. It is a 'cellular automaton',
the first generation of which was invented by Cambridge mathematician John Conway.</P>
<P>Conway's invention was considerably enhanced by J. Epstein & R. Axtell in their book,
"<A HREF="http://www-users.cs.york.ac.uk/~susan/bib/nf/e/epstein.htm#1996">Growing Artificial Societies</A>"
</TD></TR></TABLE>
<CENTER>
<TABLE cellPadding=5 border=2>
<TBODY>
<TR>
<TD bgColor=#999999>
<APPLET height=600 width=800 code=GameOfLife.class>
<PARAM NAME="cabbase" VALUE="GameOfLife.cab">
</APPLET>
<!--PARAM NAME="cellsize" VALUE="15"-->
<!--PARAM NAME="cellcols" VALUE="48"-->
<!--PARAM NAME="cellrows" VALUE="24"-->
<!-- Optimum settings for full-screen display (hide Taskbar)
Cols Rows Size Citizen size
1280 x 1024 pixels: 85 56 15 normal
-- " -- 51 34 25 large
1152 x 864 76 46 15 normal
-- " -- 46 27 25 large
1024 x 768 68 40 15 normal
-- " -- 41 25 25 large
800 x 600 53 28 15 normal
-- " -- 32 18 25 large
-->
<P>To see the Sugarscape in action, you need a Java-compatible browser.<BR>And
of course Java-support has to be turned on.
</TD></TR></TBODY></TABLE></CENTER>
<H3>The Rulesets</H3>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<DL>
<DT><B>For the Sugarscape:</B>
<DD>Each cell on the Sugarscape contains an initial amount of sugar
bounded by its maximum capacity.
<DD>The amount of sugar in a cell is depicted by various shades of gray.
The more the sugar the darker the shade.
<DD>As citizens move around the Sugarspace gathering the sugar, the sugar
is regenerated at pre-specified rate ste by the user.
<DT><B>For each Citizen</B>
<DD>Citizens have various attributes, eg. vision, metabolism &
sugar assigned to them at birth. These attributes are depicted visually as follows:
<DD><IMG alt="Least Fit to survive" src="images/LowVHighM.jpg">
LOW vision & HIGH metabolism
<DD><IMG alt="Can survive given high sugar reserves" src="images/HighVHighM.jpg">
HIGH vision & HIGH metabolism
<DD><IMG alt="Can survive given high Sugarscape fertility" src="images/LowVLowM.jpg">
LOW vision & LOW metabolism
<DD><IMG alt="Best-suited to survive" src="images/HighVLowM.jpg">
HIGH vision & Low metabolism
<DD>Citizens gather food by scanning their immediate neighborhood bounded by their
vision, then moving to the most fertile source of sugar available.
<DD>For each round or generation, a Citizen consume the amount of food determined
by their metabolism. Insufficient food results in death.
<DD>The quantity of food gathered by each citizen isdetermined by their color:
<UL>
<LI> Red denotes that current sugar will last less than 10 generations
<LI> Yellow denotes that current sugar will last between 10 - 99 generations
<LI> Green denotes that current sugar will last atleast 100 generations
<LI> The darker shade of each color denotes greater quantities of sugar.
</UL>
</DL></TD>
<TD align=middle><A href="http://java.sun.com/"><IMG height=105
alt="Jump to Java" src="images/jump2java.gif" width=93 border=0></A>
</TD></TR></TBODY></TABLE>
<H3>The Controls</H3>
<P>Choose 'Sugarscape' from the pull-down menu to run the Sugarscape simulation OR
choose one of the other options to view John Conway's original "Game of Life" in action.
<BR>The next generation of cells (corresponding to one iteration of the rules) is initiated
by the 'Next' button.
<BR>The 'Start' button advances the game by several generations.
<BR>Game speed is regulated by the Slow-Fast-Hyper pull-down menu.</P>
<H3>The Download</H3>
<P>The source code for Sugarscape is released under the
<A HREF="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License</A>
and can be downloaded at</P>
<UL>
<LI>Download <A HREF="http://sourceforge.net/projects/sugarscape/">Sugarscape project</A>
<HR>
<P><I>Space reserved for cute bit of wisdom that I would like to share</I> - abraham kannankeril <
<A HREF="mailto:kannankeril at hotmail">kannankeril</A>></P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -