This week:
Jake Dreher
- Set up the initial repo and structure, plan out routes/protocols for communication between the server and clients, play with websockets to get an idea of how to use them.
Rough plan of messaging below, to be amended and fleshed out during coding, GameModel handles each instance of the game, Router should handle all messages to and from clients, including WebSocket creation(not shown here). I’m not sure if this aligns with traditional js patterns.
Zhuohui Ma & Yang Song
- We spend time exploring the game logic code, so far working on creating the grid, and generating the snake on the grid.
Next Week:
Jake Dreher
- Implement routes and WebSockets to create basic communications. Set up test code using Jest to test server->client messaging.
Zhuohui Ma & Yang Song
- We will deploy those features above and try to make the snake move.