• uis@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 months ago

    No framework will make FSM for you. Managing state of web ui is not as hard as managing state of game.

    Using TCP for networking? Loss, retransmit, lag, you’re dead. Using UDP for networking? Loss, desync, you’re dead. Sending full game state? Congestion, loss, lag, dead. Doing sync right, but still pushing too much data? Congestion, loss, lag, dead. Also keeping on server you need not only track game state, but what game state client confirmed to receive.