Thread: Game of Life

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    2

    Game of Life

    I am currently writing the game of life in C#. Pls is it possible if anyone can give me the code that will enable me to paint the squares and get the game started. Thanx a lot.

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    http://www.java2s.com/Code/CSharp/2D...DrawSquare.htm
    You can also use labels, textBoxes or whatever you want in a Form in order to represent a square. You set its size property and you change its Location property to move it.

  3. #3
    Ex scientia vera
    Join Date
    Sep 2007
    Posts
    477
    Creating a custom control in WPF to do this would be awesomely easy.
    "What's up, Doc?"
    "'Up' is a relative concept. It has no intrinsic value."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 01:12 AM
  2. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  3. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  4. Game Of Life
    By din1983 in forum C Programming
    Replies: 20
    Last Post: 10-11-2005, 10:36 PM
  5. Please help with some coding..
    By stehigs321 in forum C Programming
    Replies: 2
    Last Post: 10-27-2003, 06:44 PM