Freelancer: justinmaccreery
Share:
Report Entry

Game of Life

In this simulation of Conway's Game of Life, I've used php as my model which communicated via ajax with my javascript controller/viewer at the browser. It's a loosely configured MVC system. No backbone or any extraneous frameworks, except jQuery for it's postJSON function. The simulation can be seen here: http://themaccreerys.com/gameoflife/ The code is contained here: http://themaccreerys.com/gameoflife/gameoflife.tar.gz Basically, the browser (controller) sends an initial integer value to the server's ajax.php that detects n, integer. Upon receiving an integer, the model created a random game board sized n and returns the board to the view, which puts the board on the screen. The controller sends this new game board array back to the model. Upon receiving an array, the model progresses the game and sends the view an updated board. Repeat... Thank you, this was a fun exercise!

Contest Entry #4 for                                                 Game of Life Assignment

Public Clarification Board

  • ArcursJobs
    Contest Holder
    • 12 years ago

    Hi Justin, could you please send me your contact details. Thanks

    • 12 years ago
    1. justinmaccreery
      justinmaccreery
      • 12 years ago

      justinmaccreery at gmail.com. Please forgive me if this isn't what you're looking for; I'm a little inexperienced with how freelancer.com operates. Obviously, you'll need to replace 'at' in that address with the at sign.

      • 12 years ago
    2. justinmaccreery
      justinmaccreery
      • 12 years ago

      Also, my contact information is available here:
      http://themaccreerys.com/

      • 12 years ago