Game of Life logic on an SVG board
Committing before I switch from d3 to canvas
renderer now uses canvas
The game-logic is now persisted serverside.
The game now runs on the client with periodic state updates from the server.
The game client is now its own file.
Player and PlayerManager classes created. Player IDs are attached to cells. Player creation has an endpoint.
Players now have an endpoint.
Now serving a static index, and the game is exposed to the main server js file through a Conway class.
Now using websockets instead of AJAX to communicate between server/client.
now checking the number of cells on the local vs. server grid on every update to do a dirty check on the state.
removed unused socket emission
Now using page visibility to limit state requests
Changed the grid size, changed the hover state style on the canvas.
New system of placing cells.
Fix for the new framed cell view
normalized the player manager on client/server
Players have a cell count now.
PlayerManager.updatePlayers now takes both an array of players and an array of objects representing players.
Cells now decrement properly.
removed old routes