-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (62 loc) · 3.12 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
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
<!DOCTYPE html>
<html lang="fr">
<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">
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./output.css">
<link rel="stylesheet" href="./style.css">
<script
src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
crossorigin="anonymous"></script>
<title>Tic Tac Toe </title>
</head>
<body class=" bg-amber-500 overflow-hidden">
<nav role="navigation" class="w-80 h-10 bg-red-600">
<div class="theme absolute right-5">theme</div>
</nav>
<h1 class=" relative text-amber-900 text-3xl font-Roboto">TIC TAC TOE</h1>
<!-- Joueur 1 -->
<div class="player player1 one absolute ">Joueur 1</div><div class="circle1 "></div>
<div class="containerImgOne absolute">
<img class="bigImg" src="./img/naruto2.png" alt="image de naruto" >
</div>
<!-- Fin Joueur 1 -->
<!-- Joueur 2 -->
<div class="player player2 two absolute ">Joueur 2</div><div class="circle2"></div>
<div class="containerImgTwo absolute ">
<img class="bigImg" src="./img/one-piece.png" alt="image de one piece" >
</div>
<!-- Fin Joueur 2 -->
<!-- Grille -->
<div role="grid" class="grid grid-cols-3 gap-2 absolute top-40 left-1/2 -translate-x-1/2">
<button id="button_btn1" class="square n1 rounded-lg" >1</button >
<button id="button_btn2" class="square n2 rounded-lg" >2</button>
<button id="button_btn3" class="square n3 rounded-lg" >3</button>
<button id="button_btn4" class="square n4 rounded-lg" >4</button>
<button id="button_btn5" class="square n5 rounded-lg" >5</button>
<button id="button_btn6" class="square n6 rounded-lg" >6</button>
<button id="button_btn7" class="square n7 rounded-lg" >7</button>
<button id="button_btn8" class="square n8 rounded-lg" >8</button>
<button id="button_btn9" class="square n9 rounded-lg" >9</button>
</div>
<div class="scoreLeft font-Kaushan"> 0</div>
<div class="scoreRight font-Kaushan"> 0</div>
<div class="playerLeft font-Kaushan"></div>
<div class="playerRight font-Kaushan"></div>
<!-- Fin grille -->
<!-- Bouton start -->
<button id="start" role="button" class=" start absolute left-1/2 -translate-x-1/2 ">New Game</button>
<!-- Fin start -->
<!-- Bouton reset -->
<button id="reset" role="button" class=" reset absolute bottom-10 left-1/2 -translate-x-1/2 ">Reset</button>
<!-- Fin bouton reset -->
<!-- <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script> -->
<script src="./main.js"></script>
</body>
</html>