Skip to main content
GameDev.net gamedev.net
🔒 Locked

Cellular Automata

Started by flashinpan Dec 1, 2005 at 5:32 PM 3 replies 1.2k views
Original Post
flashinpan
flashinpan
I am sure you all know about the Conway Game of Life simulation. I am trying to find some C++ source code for it, especially something written for Visual C++ Express 2005. Where are some good in-depth web pages about the rules and how to program them in C++ for example?
Palidine
Palidine
http://www.google.com/search?q=%22game+of+life%22+cellular&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

the programming of it is just applying those rules to a 2D array of cells and getting them to draw. Neither of those are specific to this game, so just start with basic text output or something and work your way to graphics. The OpenGL/DirectX/Graphics Programming and Theory forums on this site will get you started with the graphical part.

-me
flashinpan
flashinpan
Quote:
Original post by Palidine
http://www.google.com/search?q=%22game+of+life%22+cellular&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

the programming of it is just applying those rules to a 2D array of cells and getting them to draw. Neither of those are specific to this game, so just start with basic text output or something and work your way to graphics. The OpenGL/DirectX/Graphics Programming and Theory forums on this site will get you started with the graphical part.

-me


Sounds good...thanks!
atomic_west
atomic_west
If your looking for rules on cellular automa the book "A new kind of science".
It provides the basic rules for producing a program like what you want. The book is huge and has more information than you could posibly remember.
flashinpan
flashinpan
Quote:
Original post by atomic_west
If your looking for rules on cellular automa the book "A new kind of science".
It provides the basic rules for producing a program like what you want. The book is huge and has more information than you could posibly remember.


I'll keep this book in mind.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.