Game of Life Assignment

Contest Brief

We are looking for a new programmer/developer to join our team of programmers for our website www.peopleimages.com. To find the best programmers, we want you to solve this solution below. The best solution $200 and possibly a long term project with our company.

The assignment is for us to judge your skills and find the best programmer to work for us. Please only complete the assignment if you are interested in a long term position with us.

Assignment: Create a PHP simulation of the Game of Life.

The game of life has the following rules. The "world" is a matrix of n by n cells. Any cell inside the world can either live or die on the next day according to preset rules. The rules are: a living cell lives to the next day if it's got 2 or 3 immediate neighbours and dies in any other case. A new cell is born in a free spot if it has exactly 3 immediate neighbours. You can randomize the initial state of the world.

You are required to illustrate an indefinite simulation of a game of life using PHP and Ajax. We shall pay attention, among other things, to your code elegance, formatting, and application design overall. Your app needs to, at least, resemble an MVC approach and make use of OOP.

Recommended Skills

Top entries from this contest

View More Entries

Public Clarification Board

  • AppXoneInc
    AppXoneInc
    • 3 years ago

    Skype:appxone
    E: sales[at]appxone[com]

    Lets get serious result.

    • 3 years ago
  • ranganathp
    ranganathp
    • 3 years ago

    Can help... I am an Expert...
    Please start a Discussion with me and we can get started from there...
    Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...

    • 3 years ago
  • justinmaccreery
    justinmaccreery
    • 3 years ago

    I would like to submit an entry, but am unsure of how to upload my .php code. If I simply submit a link to my Game Of Life page, the HTML & Javascript can be found with firebug, but how do I get my .php code entered?

    • 3 years ago
    1. justinmaccreery
      justinmaccreery
      • 3 years ago

      I think I've answered my own question by looking at what others have submitted. It appears I can create a .zip folder on my server containing all my code and submit a link for that along with an image.

      • 3 years ago
  • mankamolnar
    mankamolnar
    • 3 years ago

    Dear ArcursJobs.

    I've started to do it for you.
    Permit me one question. What about the cross neighbours?
    I mean is the $map[1][1] neighbour of $map[0][0] or only $map[0][1] and $map[1][0].

    thank you very much.
    Kind regards: Mark

    • 3 years ago
    1. mankamolnar
      mankamolnar
      • 3 years ago

      I think I've got it.
      A common cell has 4 neighbours.

      • 3 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!