Freelancer : justinmaccreery
Partager :
Signaler la proposition

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!

Proposition n°4 du concours                                                 Game of Life Assignment
Proposition n°4

Tableau de clarification publique

  • ArcursJobs
    Titulaire du concours
    • il y a 10 ans

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

    • il y a 10 ans
    1. justinmaccreery
      justinmaccreery
      • il y a 10 ans

      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.

      • il y a 10 ans
    2. justinmaccreery
      justinmaccreery
      • il y a 10 ans

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

      • il y a 10 ans