Skip to content

Commit

Permalink
state of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
horahoradev committed Jan 15, 2022
1 parent 7d64e33 commit 18eda0f
Show file tree
Hide file tree
Showing 6 changed files with 415 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,24 @@ ENV LC_ALL ja_JP.UTF-8
RUN gdown https://drive.google.com/uc?id=1c8g2XBLFQ6L6KNrmI3njhgk714uX0p3W -O ./public/y2kki.zip && \
cd public && \
unzip -O shift-jis ./y2kki.zip && \
mkdir -p /multi_server/public/play/ && \
/bin/bash -c 'mv /multi_server/public/ゆめ2っきver0.117g /multi_server/public/play/gamesdefault'
mkdir -p /multi_server/public/play/games/ && \
/bin/bash -c 'mv /multi_server/public/ゆめ2っきver0.117g /multi_server/public/play/games/default'

COPY gencache /multi_server/public/play/gamesdefault/ゆめ2っき/
COPY gencache /multi_server/public/play/games/default/ゆめ2っき/

RUN mv /multi_server/public/play/gamesdefault/ゆめ2っき/music /multi_server/public/play/gamesdefault/ゆめ2っき/Music
RUN mv /multi_server/public/play/games/default/ゆめ2っき/music /multi_server/public/play/games/default/ゆめ2っき/Music

RUN cd /multi_server/public/play/gamesdefault/ゆめ2っき/ && \
RUN cd /multi_server/public/play/games/default/ゆめ2っき/ && \
./gencache

RUN /bin/bash -c 'mv /multi_server/public/play/gamesdefault/ゆめ2っき/* /multi_server/public/play/gamesdefault/'
RUN /bin/bash -c 'mv /multi_server/public/play/games/default/ゆめ2っき/* /multi_server/public/play/games/default/'

COPY --from=0 /workdir/ynoclient/index.wasm /multi_server/public
COPY --from=0 /workdir/ynoclient/index.js /multi_server/public

COPY server/public /multi_server/public

RUN mkdir -p /multi_server/public/data/default && \
cp -r /multi_server/public/play/gamesdefault/* /multi_server/public/data/default
cp -r /multi_server/public/play/games/default/* /multi_server/public/data/default

ENTRYPOINT ["./multi_server"]
Binary file added YNO10k.exe
Binary file not shown.
Binary file added gencache
Binary file not shown.
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<title>Our Funky HTML Page</title>
<meta name="description" content="Our first page">
<meta name="keywords" content="html tutorial template">
</head>
<body>
<p>V0.1 Initial</p>
<p>V0.1b bugfixx</p>
<p>v0.1c fixed bicycle</p>
<p>v0.2
<br> -sprite change sync
<br> -fix diagonal movement</p>
<p>v0.3
<br> -chat (no nicknames)</p>
<p>v0.31
<br>
-layout
<p>v.032
<br> -chat nicknames</p>
<p>Press 3 to hide/show the connection status window</p>
<p><a href="play.html">Enter</a></p>
</body>
</html>
56 changes: 56 additions & 0 deletions play.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#game_frame {
display: block;
width: 100%;
height: 480px;
margin: 0 auto;
}

#chatbox {
height: 617px;
}

#messages {
margin-right: 1px;
width: 283px;
height: 70%;
border: 2px solid black;
overflow-y: auto;
}

#chatInputContainer {
width: auto;
height: 26px;
margin-right: 1px;
margin-top: 2px;
margin-bottom: 5px;
}

#chatInput {
width: -webkit-calc(100% - 7px);
width: -moz-calc(100% - 7px);
width: calc(100% - 7px);
height: 26px;
border: 1px solid black;
}

#enterNameContainer {
margin-right: 1px;
width: auto;
height: auto;
border: 2px solid black;
}

.message {
word-wrap: break-word;
border: 1px solid #b0b0b0;
}

table, tr, td {
border: 1px solid black;
}

table {
width: 1000px;
margin: 0 auto;
height: 623px;
}
Loading

0 comments on commit 18eda0f

Please sign in to comment.