1

In my latest project i should implement cellular automaton in C#. I want help about how to create the image of array of cells and display present state and then display the whole of next state after a tick. I am also new to C#. How should I implement the state changing effect?

Jonas
  • 121,568
  • 97
  • 310
  • 388
  • What UI library are you using? Winforms? WPF? ASP.NET? Something else? – svick Feb 04 '12 at 13:05
  • This is not a very suitable question for this site. But there are plenty of Conway implementations available on the interweb, just look for them. – H H Feb 04 '12 at 14:21

1 Answers1

6
  • Create a control that can display a bitmap.
  • Display the control.
  • Write the state of the automaton to a bitmap.
  • Set the control to display the bitmap.
  • Compute the new state of the automaton.
  • Go back to step three.

That's a vague answer because the question is vague. If you want a more specific answer then ask a more specific question.

Eric Lippert
  • 647,829
  • 179
  • 1,238
  • 2,067