cloud-game/document/implementation/README.md
trichimtrich dea9714a5d Update new frontend (#38)
* WIP

* fix crlf

* fix crlf

* new gesture, menu, tooltip, share

* WIP share

* clear dusties and put magic

* oops

* Remove fade

* Update js behaviour
2019-05-25 13:16:32 +08:00

22 lines
750 B
Markdown
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
│ ├── game.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)