mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-23 10:07:30 +00:00
* Update README.md * Update readme * Update READme.md * Update readme * Update document implementation
23 lines
781 B
Markdown
Vendored
23 lines
781 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: webrtc streaming logic
|
|
└── worker: integration between emulator + webrtc (communication)
|
|
```
|