-
Notifications
You must be signed in to change notification settings - Fork 0
/
VelhoBMobile.html
114 lines (103 loc) · 2.56 KB
/
VelhoBMobile.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
112
113
114
<!DOCTYPE html>
<html>
<head>
<title> Jogo do Velho Bonfim</title>
<style>
canvas {
border: 0px;
/*position: relative;*/
margin: auto;
}
.container {
margin: 0 auto;
width: 100%;
}
span {
position: relative;
width: 20%;
font-size: 21px;
cursor: pointer;
}
div {
/*width: 10%;*/
text-align: center;
margin: auto;
font-family: monospace;
}
#options {
display: inherit;
text-align: right;
width: 50%
}
h1 {
margin-top: 10px;
margin-bottom: 5px;
}
#processor {
color: #00FF00;
background-color: black;
padding: 1px;
font-size: 14px;
display: none;
}
button {
width: 110px;
height: 50px;
font-size: 24px;
font-family: cursive;
background-color: lightgoldenrodyellow;
border-radius: 29px;
}
.button {
background-color: pink;
font-size: 100px;
}
</style>
</head>
<body>
<div id ="cont" class="container">
<h1>Jogo do Velho Bonfim</h1>
<div id="options"><h3>Ajustes</h3>
Número de Jogadores:
<select id='selectPlayers'>
<option value="1">IA</option>
<option value="2" selected>2</option>
<option value="3">3</option>
</select><br/>
Level da IA:
<select id='selectLevel'>
<option value="1" selected>1.</option>
<option value="2">2.</option>
<option value="3">3.</option>
</select><br/>
<p style="color: #00ccff"><b>Equipe Azul: </b><input id="eqA" type="text" value="Euler"></p>
<p style="color: #ff9933"><b>Equipe Laranja: </b><input id="eqL" type="text" value="Gauss"></p>
<p style="color: lime"><b>Equipe Verde: </b><input id="eqV" type="text" value="Collatz"></p>
Número de Partidas: Melhor de
<select id='selectGames'>
<option value="1">1</option>
<option value="3" selected>3</option>
<option value="5">5</option>
<option value="10">10</option>
</select><br/><br/>
<button type="button" onclick="start();">Jogar!</button><br/><br/>
~ Aperte T para ver os troféus
</div>
<div>
<span id='score'></span>
<span id='processor'>processing_power</span>
</div><br/>
<div id ="but">
<span class="left button" onclick="left();">E</span>
<span class="right button" onclick="right();">D</span>
<span class="down button" onclick="down();">B</span>
<span class="up button" onclick="up();">C</span>
<span class="front button" onclick="front();">F</span>
<span class="back button" onclick="back();">T</span>
<span class="enter button" onclick="enter();">[]</span>
<span class="backspace button" onclick="backspace();"><-</span>
</div>
<script type="text/javascript" src="script2.js" ></script>
<script>
</body>
</html>