diff --git a/Dockerfile b/Dockerfile index 200d60b8..66f4aa9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ From golang:1.12 -RUN mkdir -p /go/src/github.com/giongto35/game-online -COPY . /go/src/github.com/giongto35/game-online/ -WORKDIR /go/src/github.com/giongto35/game-online +RUN mkdir -p /go/src/github.com/giongto35/cloud-game +COPY . /go/src/github.com/giongto35/cloud-game/ +WORKDIR /go/src/github.com/giongto35/cloud-game # Install server dependencies RUN apt-get update @@ -11,6 +11,7 @@ RUN apt-get install libvpx-dev -y RUN go get github.com/pions/webrtc #RUN go get github.com/gordonklaus/portaudio RUN go get github.com/gorilla/mux -RUN go install github.com/giongto35/game-online +RUN go get github.com/gorilla/websocket +RUN go install github.com/giongto35/cloud-game EXPOSE 8000 diff --git a/games/1200-in-1.nes b/games/1200-in-1.nes deleted file mode 100644 index d660c97c..00000000 Binary files a/games/1200-in-1.nes and /dev/null differ diff --git a/games/Mega Man.nes b/games/Mega Man.nes deleted file mode 100644 index 0669d5f4..00000000 Binary files a/games/Mega Man.nes and /dev/null differ diff --git a/games/Mike Tyson.nes b/games/Mike Tyson.nes deleted file mode 100644 index 658ba89a..00000000 Binary files a/games/Mike Tyson.nes and /dev/null differ diff --git a/index.html b/index.html index fa7d4806..e7aaa38b 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,7 @@ textarea { - - @@ -26,9 +24,11 @@ textarea { -
+


+ +

Instruction

Use Up, Down, Left, Right to Move
Z to jump (A)
@@ -37,13 +37,13 @@ textarea { V is select button
Fullscreen media for better gaming experience
-
+
- -
+

Log:

+

 
 
- Refresh to retry + Refresh to retry