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
dotConnect for Dynamics CRM 1.7
Entity Developer 6.3
ODBC Driver for BigCommerce 1.4
dbForge Documenter for Oracle 1.0
dbForge Data Generator for Oracle 2.0
Odoo MobiCraft Theme 1.0
AnyChart JS Charts and Dashboards 8.4.0
IP2Location Geolocation Database October.2018
AnyGantt JS Gantt Charts 8.4.0
dbForge Data Compare for PostgreSQL 3.1
Paste phpSoftPro 1.4.1
Bytescout PDF SDK 1.8.1.243
Odoo Crafito Theme 1.0
Uber Clone- Taxi Booking App 4.1
Excel Add-in for BigCommerce 1.7
Top Code
Online Vacation Rental Booking Website Script 4.3.0
Travel Booking script 1.0.4
Ticket Booking System 1.0
JadaSite e-commerce solution 2.03
Traveling Salesman Problem (TSP) using Simulated Annealing 1.0
TIC TAC TOE AI GAME Script 1.1
PHP Point of sale 10.0
image compression using wavelet transform 1.0
Hysteresis Thresholding 1.0
Ping Pong Game Code Script 1.1
IDCMS Inventory 0.3
Java Source Object Model 1.0
Sports Club Management 6.x-1.x-dev
Aspose.Words for Java 13.3.0.0
PHP MLM Software 2.0.1
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
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: 350
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: 350



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