Skip to content

Implement spectators

A spectator is a player that receives input and hashes, but the other players don't expect any input or hashes from them. Input gathering can be skipped entirely.

I think the API should be something like:

SyncManager.add_peer(peer_id, {spectator = true})

if SyncManager.get_peer(peer_id).spectator:
    print("This peer is a spectator")