-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.php
More file actions
62 lines (53 loc) · 1.77 KB
/
help.php
File metadata and controls
62 lines (53 loc) · 1.77 KB
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
<?php
//help.php
include('header.php');
?>
<!--js for toggle related work-->
<script>
var checkbox = document.querySelector("input[id=togBtn]");
checkbox.addEventListener( 'change', function() {
document.body.classList.toggle("dark-theme");
});
</script>
<!--Help page-->
<h1>Help</h1>
<br>
<h3>Game Controls</h3>
<p>
<ul>
<li>Up Arrow : Rotate</li>
<li>Down Arrow : Move down</li>
<li>Left Arrow : Move in Left Direction</li>
<li>Right Arrow : Move in Right Direction</li>
</ul>
<h5> There are seven different types of tetrominoes: </h5>
<ul>
<li>I-blocks are useful for getting 'Tetris', that is competing four lines at once.</li>
<li>O-blocks for filling large gaps.</li>
<li>L-blocks for filling medium-sized holes.</li>
<li>J-blocks face the opposite direction as L-blocks.</li>
<li>S-blocks for filling small holes.</li>
<li>Z-blocks face the opposite direction as S-blocks.</li>
</ul>
Complete lines to gain points and increase the level.
Speed with which the tetriminos fall increases as the level increases.
<br>The more lines completed at once, the more points gained.
Completing the maximum number of lines at once, four,<br>is known as a 'Tetris' and can only be
pulled off with straight, long rectangle tetrominoes. <br>
Check upcoming pieces and plan for them.
This will become easier the more you play, don't rush yourself.
</p>
<!-- Site footer -->
<footer class="site-footer">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-6 col-xs-12">
<p class="copyright-text">Copyright © 2020 All Rights Reserved by
<a href="#">Tetris 1.0</a>.
</p>
</div>
</div>
</div>
</footer>
</body>
</html>