mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-24 02:55:45 +00:00
Change join to start
This commit is contained in:
parent
63db12b34c
commit
085f271d20
3 changed files with 25 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -47,4 +47,5 @@ Temporary Items
|
|||
|
||||
### Production
|
||||
DockerfileProd
|
||||
key.json
|
||||
prod/
|
||||
|
|
|
|||
22
document/implementation/README.md
vendored
Normal file
22
document/implementation/README.md
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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)
|
||||
|
||||
4
static/gameboy2.html
vendored
4
static/gameboy2.html
vendored
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
<div id="btn-load" unselectable="on" class="btn-big unselectable" value="load">load</div>
|
||||
<div id="btn-save" unselectable="on" class="btn-big unselectable" value="save">save</div>
|
||||
<div id="btn-join" unselectable="on" class="btn-big unselectable" value="join">join</div>
|
||||
<div id="btn-join" unselectable="on" class="btn-big unselectable" value="join">start</div>
|
||||
<div id="btn-quit" unselectable="on" class="btn-big unselectable" value="quit">quit</div>
|
||||
|
||||
|
||||
|
|
@ -79,4 +79,4 @@
|
|||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue