diff --git a/main.go b/main.go index a0142d9f..e9371158 100644 --- a/main.go +++ b/main.go @@ -31,8 +31,8 @@ const wsIndex = "./static/index_ws.html" // var webRTC *webrtc.WebRTC var width = 256 var height = 240 -var indexFN string = wsIndex -var service string = "http" +var indexFN string = gameboyIndex +var service string = "ws" type IndexPageData struct { Service string diff --git a/static/css/gameboy.css b/static/css/gameboy.css index 6b2d3b0b..71f74d30 100644 --- a/static/css/gameboy.css +++ b/static/css/gameboy.css @@ -6919,4 +6919,4 @@ body { a { color: lightblue; -} \ No newline at end of file +} diff --git a/static/gameboy.html b/static/gameboy.html index 0481f90b..6780e7c6 100644 --- a/static/gameboy.html +++ b/static/gameboy.html @@ -3,9 +3,8 @@ - - - + +
@@ -88,8 +87,14 @@ C is start (in game)
V is select game
Q is super quit
+ S to save
+ L to load
- Room ID:
+ Room ID:
+ Play as player(1,2):

diff --git a/static/index.html b/static/index.html deleted file mode 100644 index e69de29b..00000000 diff --git a/static/index_ws.html b/static/index_ws.html index acb75d43..d94549c2 100644 --- a/static/index_ws.html +++ b/static/index_ws.html @@ -22,7 +22,7 @@ textarea { -Room ID:
+Room ID: Play as player(1,2):