LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Game of Life

Screenshot
File Information
File Name Game of Life by eaolson
Submitted Jul 4 2007, 06:36 PM
Last Updated Mar 15 2008, 12:26 AM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 850.62K (Estimated Download Times)
Views 2146
Downloads 445
Add Rating
Game of Life V1.1.1

Copyright © 2007,
All rights reserved.

Author:
Eric Olson
eaolson@illicom.net

Distribution:
This code was downloaded from the LAVA Code Repository: http://forums.lavag.org/downloads.html

Description:
Conway's Game of Life is a fun little simulation of a group of cells. How new cells are born and how old cells die is decided by a simple set of rules, but can lead to complicated behavior by the entire colony. I've always found this simulation to be interesting and I thought coding it in LabVIEW would be a fun exercise. Comments and critiques of either the game or of my coding style are always welcome.

The basic rules are simple:
1. A cell that has one or zero neighbors dies of lonliness.
2. A cell that has four or more neighbors dies of overcrowding.
3. An empty cell that has exactly three neighbors containes a new cell in the following generation.

A thorough explanation of the Game can be found at http://en.wikipedia.org/wiki/Conway%27s_game_of_life .

Dependancies:
This uses the OpenG time, file, and variantconfig libraries. They are not included.
Download them via the OpenG Package Manager: http://forums.jkisoft.com/index.php?showtopic=233

Support:
If you have any problems with this code or want to suggest features:
http://forums.lavag.org/CR-Game-of-Life-t8616.html

Change Log:
1.0.0: Initial release of the code.
1.0.1: Include readme.txt in the zip file.
1.1.0: Added Open and Save As functions (in the menubar). Added an About dialog. Removed the Exit button (redundant to Close).
1.1.1: Forgot to include the .rtm file in the distribution. Rows/columns now update when opening a .gol file.

License:
This is released under the Creative Commons Attribution-Share Alike 3.0 License.
http://creativecommons.org/licenses/by-sa/3.0/
Other Information
Support Topic Click here to visit support topic
File Version 1.1.1
LabVIEW Version 7.1.x
License Other (included with download)
Operations
Approved by crelf on Jul 10 2007, 11:21 AM
Download File

> Saved Versions

Name Filename Updated Operations
Game of Life Game_of_Life_v1.1.1.zip 8th November 2007 - 01:15 AM
Game of Life Game_Of_Life_v1.1.0.zip 3rd November 2007 - 07:25 PM
Game of Life Game_of_Life_v1.0.1.zip 10th July 2007 - 03:54 AM

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
1 user(s) active in the past 15 minutes
Active Users 1 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 71 files in 13 categories
A total of 37 unique authors have submitted to our site
There have been 26398 logged downloads to date
The latest file submitted was Easy RS-232 Terminal by Eugen Graf (submitted Nov 25 2008, 12:22 AM)


Time is now: 2nd December 2008 - 03:48 AM