项目作者: sauerbraten

项目描述 :
Go web app that lets you track the state of a Cube 2: Sauerbraten game server.
高级语言: Go
项目地址: git://github.com/sauerbraten/extinfo-web.git
创建时间: 2014-01-19T20:03:47Z
项目社区:https://github.com/sauerbraten/extinfo-web

开源协议:

下载


extinfo-web

Go web app that lets you track the state of a Cube 2: Sauerbraten game server.

Try it here!

How it works

Viewers subscribe to Sauerbraten server state information by opening a websocket connection. When that particular game server is not tracked yet, the extinfo server spawns a poller that periodically (every 5 seconds) requests state information from the Sauerbraten server using the extinfo package. The current state is then sent down to every viewer subscribing to that server via a hub managing publishers (game server pollers) and subscribers (websocket viewers consuming the state information).

lit-html is used to render state information in the browser.

Unlisted servers

You can view the state of unlisted servers by editing the URL (you may have to open the modified URL in a new tab).