-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (30 loc) · 1.18 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Shuffle Game">
<title>Suffle Game</title>
<!-- Custom CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/41106f129f.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
</head>
<body>
<div class="block test" id="2048"></div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="js/tilePuzzle.js"></script>
<script type="text/javascript">
$(window).on('load', function() {
$('.test').tilePuzzle({
level: 3,
imageUrl: 'https://images.unsplash.com/photo-1558981852-426c6c22a060?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1951&q=80',
// animation: 'shake',
gameLevel: '',
bsPosition: 9,
maxWidth: ''
});
});
</script>
</body>
</html>