-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (60 loc) · 1.81 KB
/
index.html
File metadata and controls
60 lines (60 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="icon" href="flagg.ico" type="image/x-icon">
<title>Tic Tac Toe</title>
<style>
/* Seperat from game CSS */
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
background-color: blue;
text-align: center;
box-sizing: border-box;
}
img {
max-width: 100%;
height: auto;
}
h2 {
color: red;
}
h1 , h3 {
color: yellow;
}
/* My Signature buttons style*/
button {
background-color: green;;
color: white;
padding: 15px 30px;
font-size: 16px;
border: none;
border-radius: 5px;
margin: 10px 0;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: darkgreen;
}
</style>
</head>
<body>
<div>
<h1>Tic Tac Toe for any needs ✅</h1>
<h2>Play single,vs friend,vs PC dummy,or max AI ✅</h2>
<h2>Zoom to fit any screen ✅</h2>
<button onclick="location.href='ttt/index.html'">Single Player OR vs Friend</button><br><br>
<button onclick="location.href='pcDummy/index.html'">vs PC-Dummy</button><br><br>
<button onclick="location.href='AI/index.html'">vs AI (MiniMax algorithm)</button>
<br>
<img src="ai.jpg" alt="AI Image"><br><br>
<h4 style="color: white; margin-top: 20px;"><em>Kali Scandinavia</em></h4>
</div>
</body>
</html>