Skip to content

Commit

Permalink
ready for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovitkramar committed Jun 14, 2021
1 parent 9515e3d commit b812807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function gameInit() { //initialize the game
"usedWordSets": [], //keys of sets used
"setIndex": 0, //current set
"imposterIndex": 0, // if the imposter gets the first or the second word of the word pair
"talkTime": 3, // time for players to talk in seconds
"talkTime": 30, // time for players to talk in seconds
"voteTime": 10, //time for players to vote in seconds
"canVote": false, //when a client sends a imposter vote, it will only be registered if this is true
"canVoteCorrectnes": false, //when a client sends a correctnes vote, it will only be registered if this is true
Expand Down
30 changes: 1 addition & 29 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,35 +100,7 @@
</div>

<div id="toolBox">
<button>
<i class="fa fa-cogs" aria-hidden="true"></i>
<div class="toolBoxTool fastDownSwoosh">
<div class="toolBtn" onclick="disconnect()">disconnect()</div>
<div class="toolBtn" onclick="sendReady()">sendReady(c)</div>
<div class="toolBtn" onclick="onConnect()">onConnect()</div>
<div class="toolBtn" onclick="joinGame()">joinGame()</div>
<div class="toolBtn" onclick="joinSuccessful()">joinSuccessful()</div>
<div class="toolBtn" onclick="updatePlayerLists()">updatePlayerLists()</div>
<div class="toolBtn" onclick="gameStateUpdate()">gameStateUpdate()</div>
<div class="toolBtn" onclick="hideAllScreens()">hideAllScreens()</div>
<div class="toolBtn" onclick="changeStateText(['asd', 'qwe'])">changeStateText(arr)</div>
<div class="toolBtn" onclick="changeStateColor(['#e6a', '#e0f'])">changeStateColor(arr)</div>
<div class="toolBtn" onclick="noticeNewPhase('e')">noticeNewPhase(phaseCode)</div>
<div class="toolBtn" onclick="startGame()">startGame()</div>
<div class="toolBtn" onclick="gameHighlightActivePlayer('F1')">gameHighlightActivePlayer(name)</div>
<div class="toolBtn" onclick="startVoteImposter(['asd'])">startVoteImposter(msg)</div>
<div class="toolBtn" onclick="voteImposter()">voteImposter(s)</div>
<div class="toolBtn" onclick="endVoteImposter()">endVoteImposter()</div>
<div class="toolBtn" onclick="startEvaluation(['asd'])">startEvaluation(msg)</div>
<div class="toolBtn" onclick="evaluateImposter()">evaluateImposter(s)</div>
<div class="toolBtn" onclick="endEvaluation()">endEvaluation()</div>
<div class="toolBtn" onclick="showRoundStats(['asd'])">showRoundStats(msg)</div>
<div class="toolBtn" onclick="endRoundStats()">endRoundStats()</div>
<div class="toolBtn" onclick="showEnd()">showEnd()</div>
<div class="toolBtn" onclick="attemptReconnect()">attemptReconnect()</div>
<div class="toolBtn" onclick="showNotification('asd', 'info')">showNotification(msg, t)</div>
</div>
</button><button onclick="window.open(`https://github.com/ludovitkramar/g-spiel`, '_blank');">
<button onclick="window.open(`https://github.com/ludovitkramar/g-spiel`, '_blank');">
<i class="fa fa-github" aria-hidden="true"></i>
Github
</button><button>
Expand Down

0 comments on commit b812807

Please sign in to comment.