Toggle navigation
Toggle navigation
This project
Loading...
Sign in
전세계
/
FakerQuiz
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ubuntu
2020-06-21 15:29:16 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
529c5e5a64695aeb4e91320014c0975c56ee2b2d
529c5e5a
1 parent
9f448072
기능: 가장 많이 플레이한 챔피언 퀴즈 생성
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
app.js
app.js
View file @
529c5e5
...
...
@@ -361,6 +361,16 @@ function generateQuiz() {
info
=
`'
${
firstWinRateChamp
.
name
}
' :
${
firstWinRateChamp
.
winRate
}
\n'
${
secondWinRateChamp
.
name
}
' :
${
secondWinRateChamp
.
winRate
}
`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
//#region 모스트 픽 챔피언
var
firstPickChamp
=
champions
[
champList
[
0
]];
var
secondPickChamp
=
champions
[
champList
[
1
]];
quizO
=
`
${
fakerData
.
name
}
가 대회에서 가장 많이 플레이한 챔피언은 '
${
firstPickChamp
.
name
}
'이다. (단, 10게임 이상)`
;
quizX
=
`
${
fakerData
.
name
}
가 대회에서 가장 많이 플레이한 챔피언은 '
${
secondPickChamp
.
name
}
'이다. (단, 10게임 이상)`
;
info
=
`'
${
firstPickChamp
.
name
}
' :
${
firstWinRateChamp
.
totalGamePlay
}
게임\n'
${
secondPickChamp
.
name
}
' :
${
secondWinRateChamp
.
totalGamePlay
}
게임`
;
generateOX
(
quizO
,
quizX
,
info
);
//#endregion
}
function
generateOX
(
quizO
,
quizX
,
moreInfo
)
{
...
...
Please
register
or
login
to post a comment