forked from timlohnes/familyfeud
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
111 lines (92 loc) · 5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<head>
<title>Çağrı G.</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="panel/css/bootstrap.min.css" rel="stylesheet">
<link href="panel/css/style.css" rel="stylesheet">
<script src="panel/js/panel.js"></script>
</head>
<body class="gameBoard">
<BR />
<BR />
<div class="container">
<div class="form-group row">
<div class="col-xs-2">
<label for="ex1">team1</label>
<input class="form-control" id="team1NAME" type="text" value="Students">
</div>
<div class="col-xs-2">
<label for="ex1">team2</label>
<input class="form-control" id="team2NAME" type="text" value="Instructors">
</div>
<div class="col-xs-2">
<button id="buttonChangeName" type="button" class="btn btn-info" onclick="changeTeamNames();">Change Team Names!</button>
</div>
</div>
<button id="buttonOpen" type="button" class="btn btn-success" onclick="open_game_window();">Open Game</button>
<button id="buttonStart" type="button" class="btn btn-primary" onclick="start_game();" disabled>Start Game</button>
<button id="buttonFinish" type="button" class="btn btn-info" onclick="gameCompleted();">Finish Game</button>
<button id="buttonWinner" type="button" class="btn btn-info" onclick="announceWinner();" disabled>Winner!</button>
<button id="buttonClose" type="button" class="btn btn-danger" onclick="close_game_window();" disabled>Close Game</button>
<BR />
<BR />
<button id="buttonTurnT1" type="button" class="btn" onclick="turnOfTeam('team1');">turn of Team1</button>
<button id="buttonMistakeT1" type="button" class="btn" onclick="showMissPoint('1');" disabled>Team 1 Mistake <span id="misspoint1" class="label label-danger">0</span></button>
<button id="buttonMistakeT2" type="button" class="btn" onclick="showMissPoint('2');" disabled>Team 2 Mistake <span id="misspoint2" class="label label-danger">0</span></button>
<button id="buttonTurnT2" type="button" class="btn" onclick="turnOfTeam('team2');">turn of TEAM2</button>
<BR /><BR />
<BR /><BR />
<button type="button" class="btn btn-default" onclick="play_sound('ff-strike');">Wrong Answer Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('dun');">BONUS answer Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('applause');">applause Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('yeah.ogg');">YEAH Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('boo.ogg');">BOO Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('clock.ogg');">CLOCK END Sound</button>
<button type="button" class="btn btn-default" onclick="play_sound('ticking_clock_10sec');">Tick Sound</button>
<button type="button" class="btn btn-default" onclick="pause_sound();">Stop Sound</button>
<BR />
<BR />
<h2>Q<span id="currentQ">C</span>/<span id="totalQ">T</span>: <span id="question" class="label label-default">Open the game to get the question.</span></h2>
<h2>Answers:</h2>
<div id="answerInfo">
Answers will appear in here when the game opened.
</div>
<table id="tableAnswers" class="table" style="display: none;">
<thead>
<tr>
<th>#</th>
<th>Answer</th>
<th>Point</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<BR />
<BR />
<button id="buttonAwardT1" type="button" class="btn btn-primary" onclick="calculatePoints('1');" disabled>Awards to Team1</button>
<button id="buttonAwardT2" type="button" class="btn btn-primary" onclick="nextQuestion();" disabled>Next Question</button>
<button id="buttonAwardT3" type="button" class="btn btn-primary" onclick="calculatePoints('2');" disabled>Awards to Team2</button>
<BR />
<BR />
<div class="form-group row">
<div class="col-xs-2">
<label for="ex1">point TEAM1</label>
<input class="form-control" id="team1POINT" type="text" >
</div>
<div class="col-xs-2">
<label for="ex1">point TEAM2</label>
<input class="form-control" id="team2POINT" type="text" >
</div>
<div class="col-xs-2">
<button id="buttonChangePOINT" type="button" class="btn btn-info" onclick="changeTeamPoint();">Set Points!</button>
</div>
<div class="col-xs-2">
<button id="buttonTurnExchange" type="button" class="btn btn-success" onclick="changeTurn();">Turn of the opposite team!</button>
</div>
</div>
</div>
<script src="panel/js/jquery.min.js"></script>
<script src="panel/js/bootstrap.min.js"></script>
</body>