Skip to content
    Back to all Bounties

    Earn 10,000 ($100.00)

    Time Remainingdue 7 months ago
    Canceled

    Improve worldguessr code and add reconnection mechanism

    CoderGautamYT
    CoderGautamYT
    Posted 7 months ago

    Bounty Description

    The worldguessr multiplayer code is kind of a mess.

    Looking for a React + Nodejs developer with experience with websockets to improve the logic to make it more readable, and implement a reconnection mechanism when a user gets disconnected.

    Criteria for completion:

    • Websocket Server/ Client code in WorldGuessr is refactored and cleaner

    • When a user refreshes while in game, they are connected back into their game

    • When a user disconnects while in game, they are automatically reconnected back to the specific game

    • When a user disconnects while in game, they are still technically joined for up to 60 seconds if the user does not initiate a rejoin request

    • Restarting the server OR server crashes and restarts persist the game state. Users are temporarily disconnected, show rejoining.. message but when the server is back their current game progress is restored and they can continue playing multiplayer where they left off. When the server stops, the current game state ( all running multiplayer games) should be saved somewhere as a file or in a database so it can be restored.

    It is an open source project, see the code at https://github.com/codergautam/worldguessr
    Submission will be a pull request