gcivil-nyu-org / INET-Monday-Fall2023-Team-5

3 stars 5 forks source link

Refactor Moon Phase Message Handling #308

Closed aya0221 closed 10 months ago

aya0221 commented 10 months ago

This commit improves the handling of moon phase messages in the game's WebSocket consumer. It corrects the data structure received by the moon_phase method to align with the frontend's expected format, ensuring proper synchronization of moon phase data between the server and client.

Key Changes:

This update ensures the moon phase feature's reliability and readability of the related code sections.