From 085f271d203c53d1239e83abc8cebcccc75bbd4d Mon Sep 17 00:00:00 2001 From: giongto35 Date: Thu, 23 May 2019 01:53:29 +0800 Subject: [PATCH] Change join to start --- .gitignore | 1 + document/implementation/README.md | 22 ++++++++++++++++++++++ static/gameboy2.html | 4 ++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 document/implementation/README.md diff --git a/.gitignore b/.gitignore index 0f1f2478..13b6f2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -47,4 +47,5 @@ Temporary Items ### Production DockerfileProd +key.json prod/ diff --git a/document/implementation/README.md b/document/implementation/README.md new file mode 100644 index 00000000..e1971a00 --- /dev/null +++ b/document/implementation/README.md @@ -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) + diff --git a/static/gameboy2.html b/static/gameboy2.html index 7012a313..fc97a569 100644 --- a/static/gameboy2.html +++ b/static/gameboy2.html @@ -37,7 +37,7 @@
load
save
-
join
+
start
quit
@@ -79,4 +79,4 @@ - \ No newline at end of file +