Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sejong25
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Tear of Sejong
sejong25
Commits
91be7cef
Commit
91be7cef
authored
Aug 20, 2019
by
18손재민
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
잠시 수정
parent
93a6c09a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
index.html
index.html
+19
-19
server.js
server.js
+1
-1
No files found.
index.html
View file @
91be7cef
...
...
@@ -3,20 +3,20 @@
<head>
<meta
charset=
"utf-8"
/>
<script
src=
"/socket.io/socket.io.js"
></script>
<script
src=
"js/phaser.js"
></script>
<script
src=
"js/ScenesData.js"
></script>
<script
src=
"js/Background.js"
></script>
<script
src=
"js/Input.js"
></script>
<script
src=
"js/WordSpace.js"
></script>
<script
src=
"js/GameCycle.js"
></script>
<script
src=
"js/WordObject.js"
></script>
<script
src=
"js/WordReader.js"
></script>
<script
src=
"js/CSVParsing.js"
></script>
<script
src=
"js/SelectWord.js"
></script>
<script
src=
"js/BGMsound.js"
></script>
<script
src=
"js/Enums.js"
></script>
<script
src=
"js/ResourceLoader.js"
></script>
<script
src=
"js/UIObject.js"
></script>
<script
src=
"
/
js/phaser.js"
></script>
<script
src=
"
/
js/ScenesData.js"
></script>
<script
src=
"
/
js/Background.js"
></script>
<script
src=
"
/
js/Input.js"
></script>
<script
src=
"
/
js/WordSpace.js"
></script>
<script
src=
"
/
js/GameCycle.js"
></script>
<script
src=
"
/
js/WordObject.js"
></script>
<script
src=
"
/
js/WordReader.js"
></script>
<script
src=
"
/
js/CSVParsing.js"
></script>
<script
src=
"
/
js/SelectWord.js"
></script>
<script
src=
"
/
js/BGMsound.js"
></script>
<script
src=
"
/
js/Enums.js"
></script>
<script
src=
"
/
js/ResourceLoader.js"
></script>
<script
src=
"
/
js/UIObject.js"
></script>
<style
media=
'screen'
type=
'text/css'
>
@font-face
{
font-family
:
sejongFont
;
...
...
@@ -35,13 +35,13 @@
</head>
<body>
<div
id=
"mainTitle"
>
<img
id=
"titleImg"
src=
"assets/image/background/title.png"
alt=
"title"
>
<img
id=
"titleImg"
src=
"
/
assets/image/background/title.png"
alt=
"title"
>
<div
id=
"dvLogin"
>
<input
id=
"userEmail"
type=
"email"
placeholder=
"email"
style=
"width: 100%; height: 10%;"
></br>
<input
id=
"userPassword"
type=
"password"
placeholder=
"password"
maxlength=
"17"
style=
"width: 100%; height: 10%;"
></br>
<button
id=
"joinBtn"
style=
"width: 100%; height: 10%;"
>
이메일로 가입하기
</button></br>
<button
id=
"emailBtn"
style=
"width: 100%; height: 10%;"
>
이메일로 로그인
</button></br>
<button
id=
"googleBtn"
style=
"width: 10%; height: 10%;"
><img
src=
"assets/title/googleBtn.png"
style=
"object-fit: contain"
></button></br>
<button
id=
"googleBtn"
style=
"width: 10%; height: 10%;"
><img
src=
"
/
assets/title/googleBtn.png"
style=
"object-fit: contain"
></button></br>
</div>
</div>
...
...
@@ -64,8 +64,8 @@
firebase
.
initializeApp
(
firebaseConfig
);
</script>
<script
src=
"js/Client.js"
></script>
<script
src=
"js/Main.js"
></script>
<script
src=
"js/FirebaseClient.js"
></script>
<script
src=
"
/
js/Client.js"
></script>
<script
src=
"
/
js/Main.js"
></script>
<script
src=
"
/
js/FirebaseClient.js"
></script>
</body>
</html>
\ No newline at end of file
server.js
View file @
91be7cef
...
...
@@ -13,7 +13,7 @@ app.get('/', function(req, res) {
});
// http 기본 포트(80)에 서버 열기
server
.
listen
(
80
80
,
function
()
{
server
.
listen
(
80
,
function
()
{
console
.
log
(
'
[SERVER] Listening on port
'
+
server
.
address
().
port
);
GameServer
.
serverNumber
=
Math
.
floor
(
Math
.
random
()
*
1000
+
1
);
console
.
log
(
'
[SERVER] server number is
'
+
GameServer
.
serverNumber
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment