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
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Binary MLM Plan 1.0.2
MLM Software ONE 1.5.46
Azizi search engine script PHP 4.1.10
Vue Injector 3.3
Answers phpSoftPro 3.12
Ticket Booking Software – PHP Scripts mall 1.0.2
ActivePerl 5.8.4.810/5.6.1.638
Wine Glass 1.0
Ping Pong Game Code Script 1.1
GBAconv rc
Low Pass Butterworth Filter 1.0
MLM Forced Matrix Plan Software 1.0.2
The Shakespeare Programming Language 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
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
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
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: 401
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: 401



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