-
Notifications
You must be signed in to change notification settings - Fork 1
/
androidchess.html
103 lines (94 loc) · 2.6 KB
/
androidchess.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
<!DOCTYPE html>
<html>
<head>
<title>Android Chess</title>
<style>/* Style the header with a grey background and some padding */
.header {
overflow: hidden;
background-color: #00ccff;
padding: 20px 10px;
}
.main {
overflow: hidden;
background-color: #e6e6e6;
padding: 20px 10px 20px 10px;
}
/* Style the header links */
.header a {
float: left;
color: white;
text-align: center;
padding: 12px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
font-size: 25px;
font-weight: bold;
}
/* Change the background color on mouse-over */
.header a:hover {
background-color: #ddd;
color: black;
}
/* Style the active/current link*/
.header a.active {
background-color: dodgerblue;
color: white;
}
/* Float the link section to the right */
.header-right {
float: right;
}
/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
.header a {
float: none;
display: block;
text-align: left;
}
.header-right {
float: none;
}
}</style>
</head>
<body>
<div class="header">
<a href="index2.html" class="logo">Akshai Srinivasan</a>
<div class="header-right">
<a href="index2.html">Home</a>
<a href="astar.html">A* Search</a>
<a href="adv.html">Adversarial Search</a>
<a class="active" href="androidchess.html">Android Chess</a>
</div>
</div>
<br>
<div class="main">On this page there is chess, which has been made as an android app.<br><br>
<img src="chess1.png" alt="chess" width="400">
<br>
<br>
It fully implements the game of chess as an app, runnable on any android device using android 10 or higher. The player has the option to undo their last move, have the ai move for them, offer/accept a draw, and to resign.
<br>
<br>
After the game has ended, the user has the option to save a replay of the game.
<br>
<br>
<img src="chess2.png" alt="chess" width="400">
<br>
<br>
A list of replays can be seen from the main menu, sorted by either name or date.
<br>
<br>
A user can view a saved replay turn by turn.
<br>
<br>
<img src="chess3.png" alt="chess" width="400">
<br>
<br>
This project can be downloaded <a href="app-debug.apk">here</a>.
</div>
</body>
</html>