-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmemory.html
More file actions
77 lines (73 loc) · 3.33 KB
/
memory.html
File metadata and controls
77 lines (73 loc) · 3.33 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CFC | Memory</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='memory.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dragula/3.7.3/dragula.min.css"/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/dragula/3.7.3/dragula.min.js' defer></script>
<script src="{{ url_for('static', filename='memory.js') }}" defer></script>
</head>
<body class="memory_game">
<div class="memorycontainer" id="memorycontainer">
{% for i in range(diff) %}
<div class="card" id={{ i+1 }}><img class="card_image "
src="{{ url_for('static', filename='images/cardbackground.png') }}"></div>
{% endfor %}
<input type="hidden" id="diff" data-diff="{{ diff }}">
</div>
<div class="containercenter">
<div class="demo" id="timer">
<div class="demo__colored-blocks">
<div class="demo__colored-blocks-rotater">
<div class="demo__colored-block"></div>
<div class="demo__colored-block"></div>
<div class="demo__colored-block"></div>
</div>
<div class="demo__colored-blocks-inner"></div>
<div class="demo__text">Ready</div>
</div>
<div class="demo__inner">
<svg class="demo__numbers" viewBox="0 0 100 100">
<defs>
<path class="demo__num-path-1" d="M40,28 55,22 55,78"/>
<path class="demo__num-join-1-2" d="M55,78 55,83 a17,17 0 1,0 34,0 a20,10 0 0,0 -20,-10"/>
<path class="demo__num-path-2" d="M69,73 l-35,0 l30,-30 a16,16 0 0,0 -22.6,-22.6 l-7,7"/>
<path class="demo__num-join-2-3" d="M28,69 Q25,44 34.4,27.4"/>
<path class="demo__num-path-3" d="M30,20 60,20 40,50 a18,15 0 1,1 -12,19"/>
</defs>
<path class="demo__numbers-path"
d="M-10,20 60,20 40,50 a18,15 0 1,1 -12,19
Q25,44 34.4,27.4
l7,-7 a16,16 0 0,1 22.6,22.6 l-30,30 l35,0 L69,73
a20,10 0 0,1 20,10 a17,17 0 0,1 -34,0 L55,83
l0,-61 L40,28"/>
</svg>
</div>
</div>
</div>
<div class="menu_container">
<div class="button" id="moves"><img src="{{ url_for('static', filename='images/moves.png') }}"> 0</div>
<div class="button"><a href="/">
<button><img src="{{ url_for('static', filename='images/home.png') }}" class="button_image"></button>
</a></div>
<div id="manual" class="button">
<button><img src="/static/images/manual.png" class="button_image"></button>
</div>
</div>
<div class="button_container">
<div class="button"><a href="/memory?diff=4">
<button class="diff"><img src="{{ url_for('static', filename='images/beginner.png') }}" class="button_image">
</button>
</a></div>
<div class="button"><a href="/memory?diff=6">
<button class="diff"><img src="{{ url_for('static', filename='images/amateur.png') }}" class="button_image">
</button>
</a></div>
<div class="button"><a href="/memory?diff=8">
<button class="diff"><img src="{{ url_for('static', filename='images/expert.png') }}" class="button_image">
</button>
</a></div>
</div>
</body>
</html>