Game of Life Assignment
- Trạng thái: Closed
- Giải thưởng: $200
- Các bài thi đã nhận: 6
- Người thắng cuộc: justinmaccreery
Tóm tắt cuộc thi
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.