Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Excel Add-in for DB2 1.7
wolfSSL 4.0.0
EntityDAC Express 2.2
SecureBridge 9.1
C# HTML to PDF 2019.6.5
PHP Ecommerce Script 3.6
Devart SSIS Data Flow Components 1.11
dbForge Data Compare for PostgreSQL 3.2.15
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
Top Code
iScripts CyberMatch 1.3
SecureBridge 8.0
dbForge Data Compare for PostgreSQL 2.0
dbForge Studio for SQL Server 5.5
Database Workbench Pro 5.6.8
PHP Ecommerce Script 1.0.4
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Excel Add-in for DB2 1.1
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
EntityDAC Express 2.2
Ticket Booking System 1.0
Scholarship Award System 1.2.71b
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
An extensible Conway's Game of Life 
File ID: 64188






An extensible Conway's Game of Life 
Download An extensible Conway's Game of Life http://code.activestate.com/recipes/577976-an-extensible-conways-game-of-life/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 352
User Rating:3 Stars  (2 ratings)
Submit Rating:
An extensible Conway's Game of Life  Description
Description: This program is an extensible Conway's game of life. It allows to define
different type of grid (for example 2D or 3D) and more complex rules.
Each grid inherits an Abstract grid that implement the method (next())
to pass for the next configuration.
Furthermore, each element can be whatever type. In this
example I designed Grid2DBool that represent the simple Conway's game of life,
but could be possible to develop and easily implement more complex grids and
rules.

Note:
The demo save also the animation in a file .mp4 and plot it through pyplot.
The demo could take long time because of storing all the configurations before
showing the animation. Therefore, the visualization can be improved using other
libraries (as wxpython) that paint the configuration of the grid once it's
created.
With a more complex view it's convenient to apply MVC pattern declaring the
model AbstractGrid as the Observable class.

License: Freeware

Related: Animation, Game, Life

O/S:Windows

Downloads: 352



More Similar Code


We use Conway's Game of Life to demonstrate different optimal control strategies for agent based models (ABM) with a focus on their computational complexity. We show different approaches for global and local controls.



3-Dimensional version of Conway's Game of Life. "Life" is a cellular automaton invented by John Conway that involves live and dead cells in a rectangular, two-dimensional universe. This implementation uses a M x M x M grid; the number...



Program that allows to use an image (in black and white, gray scale or in colors) as starting cells for the Conway's game of life. You can also edit the image or start a blank image. The animation of the cells can be recorded. The parameters for...



This is an implementation of John Conway's Game of Life (see here: http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) for Drupal. This puts the Game of Life in a block for use in the sidebar, for example.

Features:

* Each...



Gamoliyas is an open source John Conway's Game of Life game totally written in DHTML (JavaScript, CSS and HTML). Uses mouse and keyboard. Very configurable. This cross-platform and cross-browser game was tested under BeOS, Linux, *BSD, Windows...



This Library allows you to perform unit testing in Javascript, to practice TDD and to produce the most fun Game of Life for a code retreat or coding dojo! :D You can watch is alive here: http://js-tdd.sourceforge.net/



A sandpile simulator (it's a kind of Conway's Game of Life, really). Fun to watch. Comes with extensive documentation on complex adaptive systems, which is what the sandpile model is.



GoLife is another 'game of life' based on the rules of the Chinese board game Go, arguably the best game ever devised by mankind.

This version of GoLife is not intended to be an AI opponent. Rather it is written to see how a Go system...



FusekiLibrary is an opening library for the game of go. It consists of two parts. A general purpose opening library and a gtp client that uses the library and interacts with the user.

User Review for An extensible Conway's Game of Life
- required fields
     

Please enter text on the image