cloud-game/document/implementation/README.md
giongto35 e983359835 Worker auto reconnect (#34)
* Change join to start

* WIP

* Use RouteWork to route worker call

* Add reconnect

* Update main test

* Remove fatal

* Update test

* Remove unnecessary
2019-05-23 19:23:45 +08:00

753 B
Vendored

Web-based Cloud Gaming Service Implementation Document

Code structure

. ├── cmd │ ├── main.go │ └── main_test.go ├── emulator: emulator internal │ ├── director.go: coordinator of views │ └── gameview.go: in game logic ├── overlord: coordinator of workers ├── games: roms list, no code logic ├── static: static file for front end │ ├── js │ │ └── ws.js: client logic │ ├── gameboy.html: frontend with gameboy ui │ └── index_ws.html: raw frontend without ui ├── cws │ └── cws.go: socket multiplexer library, used for signalling ├── webrtc └── worker: integration between emulator + webrtc (communication)