Newest Files

Date iconJul.16

This is a 10gb expanding VMWare disk image. I p...

Date iconJul.06

InfoPopper ported to Haiku. See the project pa...

Date iconJun.27

This is a Virtual Box disk image of the popular...

Date iconJun.27

This project was based on the popular weekly su...

Date iconJun.17

Jukebox is simple audio player.

Date iconMay.15

Two blank BFS formatted & bootable Vmware disc ...

Date iconApr.27

Be na Life is a game of life.

Date iconApr.25

This is a Parallels disk image of the popular S...

Date iconApr.25

This is a Qemu disk image of the popular weekly...

Date iconApr.20

Git is an open source version control system de...

Date iconApr.17

Niue is a basic, easy to use but powerful devel...

Date iconApr.05

Cdrecord is used to record data or audio Compac...

Date iconApr.01

Latest GCC and cross compiling tools needed to ...

Date iconMar.27

Beam (BEware, Another Mailer) is an open source...

Date iconMar.26

HotSyncs your Palm Pilot with BeOS.

BeLife download_trans.gif Download

Thumbnails:

Description:
beoslogo.png
About BeLife:

BeLife is a BeOS/Zeta implementation of the 'Conway's game of Life' math model.

The Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the "pieces" are placed in the starting position, the rules determine everything that happens later. Nevertheless, Life is full of surprises! In most cases, it is impossible to look at a starting position (or pattern) and see what will happen in the future. The only way to find out is to follow the rules of the game.

Rules of the Game of Life:
Life is played on a grid of square cells--like a chess board but extending infinitely in every direction. A cell can be live or dead. A live cell is shown by putting a marker on its square. A dead cell is shown by leaving the square empty. Each cell in the grid has a neighborhood consisting of the eight cells in every direction including diagonals.

To apply one step of the rules, we count the number of live neighbors for each cell. What happens next depends on this number.

* A dead cell with exactly three live neighbors becomes a live cell (birth).

* A live cell with two or three live neighbors stays alive (survival).

* In all other cases, a cell dies or remains dead (overcrowding or loneliness).

Note:
The number of live neighbors is always based on the cells before the rule was applied. In other words, we must first find all of the cells that change before changing any of them. Sounds like a job for a computer!

Background:
Life was invented by the mathematician John Conway in 1970. He choose the rules carefully after trying many other possibilities, some of which caused the cells to die too fast and others which caused too many cells to be born. Life balances these tendencies, making it hard to tell whether a pattern will die out completely, form a stable population, or grow forever.

BeOS:
In BeOS I found two 'Life' applications, a screensaver called GLife and 'Life' an application which simulates the Game of Life math. Unfortunally 'Life' had a dead link, so I hunted down the sources and tried to inprove it a little. The result is 'BeLife'. Please note that that most important bits of code in this application come from the 'Life' application, by Jeremy and Matt.

BeLife offers the same functionality as 'Life', plus user defined colors, special patterns, random patterns and an option to kill all life.

Find out more about about Conway's Game of Life:
http://en.wikipedia.org/wiki/Conway's_Game_of_Life
http://www.math.com/students/wonders/life/life.html


Variation description:

This is the Haiku and R5 version of BeLife. BeLife has the same functionality for Zeta, Haiku and R5.

Details about this version:

This is the first release.
bug-reports, suggestions and feature request are very welcome in the Talkback section.


Related Links:
License:
Other Open Source License
Submitted On:
24 Jan 2008
Submitted By:
Karl vom Dorff (karl)
File Date:
06 Jan 2006
File Author:
0033
File Version:
1.0
File Size:
83.71 Kb
File Type:
zip
File HomePage:
Click to visit site
Downloads:
1
Rating:
stars/0.gifTotal Votes:0
Comments (0)add comment

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

busy

Login

File Search

Search For: 
File Titles: 
File Description: 

Most Popular Files

Jul.16
Downloads
File iconSenryu Personal Edition Vmware Image - Weekly
5321
Jun.27
Downloads
File iconSenryu Virtual Box Edition
822
May.21
Downloads
File iconOpera
815
Jul.09
Downloads
File iconAbiWord
809
Jun.27
Downloads
File iconSenryu Developer Edition Vmware Image
632
Jul.08
Downloads
File iconBeOS 5 PE Max Edition
313
Aug.15
Downloads
File iconICH AC97 Driver
301
Aug.24
Downloads
File iconAti Radeon Graphics Driver
277
Apr.25
Downloads
File iconSenryu Qemu Edition
226
Jun.06
Downloads
File iconHaikuPC-Info
216
Apr.17
Downloads
File iconNiue
163
Oct.28
Downloads
File iconHaikuLiveCDScript
156
May.21
Downloads
File iconLinks
151
Oct.04
Downloads
File iconHaiku Radeon Driver
145
Jun.06
Downloads
File iconJammin
106
Sep.15
Downloads
File iconBeFar
95
Sep.15
Downloads
File iconAural Illusion
95
Apr.25
Downloads
File iconSenryu Parallels Edition
89

Who's Online

No users online
Guests: 3
Hits Today: 363
Hits Yesterday: 510
Hits Total: 147983
Since: 2007-07-25