answersLogoWhite

0


Best Answer

Implementation of John Horton Conway's "Game of Life", a topic of Cellular Automata written in Scientific American, is not a simple project, and no one is going to give you code or take the time to write it for you. You must do that yourself. We can and will discuss the process... You need an array, representing the life matrix. Each element is a cell that is dead or alive. On each generation, you apply the following rules... 1. If a cell is alive, it survives if it has two or three adjacent alive neighbors.

2. If a cell is dead, it is born if it has three adjacent alive neighbors.

3. Otherwise, the cell dies or stays dead. It is important to note that this processing must be performed "in parallel", without allowing intermediate results to "contaminate" the procedure of creating a new generation. This usually means that you need two copies of the array. You need a way to initialize or load the array. You need a way to display the array, allowing for sizing, shifting, window changes, etc. You need a way to control the process, starting, stopping, saving, detecting stability or oscillation, etc. In modern compilers and operating systems, memory space is not an issue, so you could just implement the array. Providing for dynamic sizes is possible (and appropriate) because you don't know how large something is going to be, or you don't know where the colony is going to move. Some implementations have solved the memory size or dynamic size issue by providing sophisticated means of representing the matrix, such as with a linked list of partial regions of the array that can grow, contract, split, and merge as needed. Technically, the array is a bit array, because each cell only has two states, dead or alive. Bit manipulation, however, can be CPU intensive, slowing down the process. The other potentially large issue is locality and temporality of reference. The array is a large object. If you are bouncing around in memory scanning and updating it, you are going to have constant cache flushes, both in L1 and L2. This is going to degrade performance. Does this matter? Its up to you. If you can manage to process the array serially, with only a few data pathes going through the array, performance will be excellent.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can i make John Conway's Game of Life in visual basic 2008 lllllUPDATElllll can someone answer please?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can i make John Conway's Game of Life in visual basic 2008 lllllUPDATElllll dont bother answering?

i really cant be bothered now so dont bother answering.


What is a visual barrier?

a visual barrier is when you cannot see something / someone .


What is visual bullying?

Visual bulling is when someone is getting bulling and you watch them and do nothing about it (bystander)


Is visual a verb?

no coz a verb iz a doing word No. To visualize is a verb. Visual is technically an adjective but is commonly used today as a noun, as in "Can I get a visual on that please".


Code for Secant method please in visual basic 2008?

855193


What does visual noise mean in simple English please?

Visual noise in simple English is any type of visual distraction. For example, piles of trash in the street can become visual noise if they distract people from enjoying the ambiance of an area.


Please help me i need to do kotomi route in clannad visual novel give me a walkthrough please i always come at a bad end please help?

This is not a question


Vb learning website?

i want to learn visual bascic anybody please help me


What is the average salary for someone with a bachelor's degree in visual communication?

8000


What does visual mean in design terms?

Someone that can easily picture images in their head.


The loci method would be most useful for someone with which of these learning styles?

Visual


What does visual acuity mean?

The term visual acuity means to have a sharpness of vision by measuring their ability to read letters from a distance. Optometrists do this when testing someone for glasses.