File tree Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,20 @@ <h1>Arx Chess</h1>
18
18
</ li >
19
19
< li > < a href ="play " class ="filled "> Local game</ a > </ li >
20
20
< li > < a href ="# " class ="filled "> Online game (soon)</ a > </ li >
21
- < li > < a href ="play?tutorial " class ="filled "> Tutorial</ a > </ li >
22
- < li > < a href ="pieces "> Pieces</ a > </ li >
21
+ < li >
22
+ The main objective of Arx Chess is to capture all of the opponent's castles. To achieve this, you must gain
23
+ control of the board and acquire new pieces. These include not only regular pieces but also compound ones. You
24
+ unlock the compound pieces by purchasing the basic ones first. You need to manage your gold wisely between
25
+ expanding your forces and upgrading your castles. Have fun!
26
+ </ li >
27
+ < li >
28
+ To buy new pieces or upgrade a castle: < span class ="touch "> long-press</ span > < span class ="no-touch "> right-click
29
+ on</ span > the castle.
30
+ </ li >
31
+ < li >
32
+ To move a piece: left-click on the piece, then click on the desired destination.
33
+ </ li >
34
+ < li > < a href ="pieces "> All pieces</ a > </ li >
23
35
< li > < a href ="https://github.com/kacperwyczawski/arx-chess "> Source code</ a > </ li >
24
- < li > < a href ="https://github.com/kacperwyczawski/arx-chess/blob/main/README.md "> About</ a > </ li >
25
36
</ menu >
26
37
</ body >
Original file line number Diff line number Diff line change 45
45
46
46
& li {
47
47
width : 100% ;
48
- max-width : 16rem ;
48
+ max-width : 24rem ;
49
+ text-align : justify;
49
50
50
51
& : first-child {
51
52
display : flex;
61
62
background-color : transparent;
62
63
color : var (--dark );
63
64
padding : 1rem 2rem ;
64
- max-width : 16 rem ;
65
+ max-width : 24 rem ;
65
66
width : 100% ;
66
67
display : block;
67
68
text-align : center;
@@ -77,6 +78,24 @@ menu {
77
78
}
78
79
}
79
80
81
+ span .touch {
82
+ display : none;
83
+ }
84
+
85
+ span .no-touch {
86
+ display : inline;
87
+ }
88
+
89
+ @media not (hover : hover) {
90
+ span .touch {
91
+ display : inline;
92
+ }
93
+
94
+ span .no-touch {
95
+ display : none;
96
+ }
97
+ }
98
+
80
99
# white ,
81
100
# black {
82
101
position : absolute;
@@ -305,4 +324,4 @@ a.button {
305
324
& p {
306
325
margin-top : 0 ;
307
326
}
308
- }
327
+ }
You can’t perform that action at this time.
0 commit comments