-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (32 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bulls and Cows 🐂
🐄</title>
<link rel="icon" href="img/favicon.png">
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div class="container">
<div class="content">
<div class="answerwindow" id="app">
<!-- rule -->
<div class="rule">
<p><strong>Правила игры:</strong> загадывается 4-значное число (цифры в нем не повторяются, а число может начинаться с 0), цель игрока — отгадать это число. После каждой попытки бот сообщает игроку, сколько цифр угадано с совпадением их позиции в исходном числе (быки) и сколько угадано без совпадения с позицией (коровы).</p>
</div>
<!-- not delate rule -->
</div>
<!-- user answer -->
<div class='answer-user'>
<input type="text" id='inner' placeholder='Введите число' autofocus>
<button type='button' id="answer" >Ответить</button>
</div>
</div>
</div>
<script src="script/Game.js"></script>
<script src="script/app.js"></script>
</body>
</html>