Game of Life Assignment

  • Tila: Closed
  • Palkinto: $200
  • Vastaanotetut työt: 6
  • Voittaja: justinmaccreery

Kilpailun tehtävänanto

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.

Suositellut taidot

Julkinen selvennystaulu

  • AppXoneInc
    AppXoneInc
    • 9 vuotta sitten

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

    Lets get serious result.

    • 9 vuotta sitten
  • ranganathp
    ranganathp
    • 9 vuotta sitten

    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...

    • 9 vuotta sitten
  • justinmaccreery
    justinmaccreery
    • 9 vuotta sitten

    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?

    • 9 vuotta sitten
    1. justinmaccreery
      justinmaccreery
      • 9 vuotta sitten

      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.

      • 9 vuotta sitten
  • mankamolnar
    mankamolnar
    • 9 vuotta sitten

    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

    • 9 vuotta sitten
    1. mankamolnar
      mankamolnar
      • 9 vuotta sitten

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

      • 9 vuotta sitten

Näytä lisää kommentteja

Kuinka päästä alkuun kilpailuiden kanssa

  • Ilmoita kilpailusi

    Ilmoita kilpailusi Nopeaa ja helppoa

  • Saat valtavasti töitä

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Myönnä palkinto parhaalle työlle

    Myönnä palkinto parhaalle työlle Lataa tiedostot - Helppoa!

Ilmoita kilpailu nyt tai liity tänään!