word-games-theme 1.2.0 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/wordgames/en/root.json +2 -0
- data/_data/wordgames/en/word-game-generator-online.json +2 -2
- data/_data/wordgames/en/word-game-play.json +21 -0
- data/_data/wordgames/fr/four_letter_word_finder.json +1 -0
- data/_data/wordgames/hi/four_letter_word_finder.json +1 -0
- data/_includes/adBlocker/adBlocker.html +7 -7
- data/_includes/autogenerated/content.html +1 -1
- data/_includes/footer/index.html +2 -2
- data/_includes/footer/unqFooter.html +4 -4
- data/_includes/head/index.html +3 -3
- data/_includes/script.html +1 -1
- data/_includes/section/commonPage.html +1 -1
- data/_includes/section/home.html +1 -1
- data/_includes/section/home2.html +3 -2
- data/_includes/word-game/word-game-generator-online.html +23 -139
- data/_includes/word-game/word-game-play.html +191 -0
- data/_includes/wordfinderstrategy/content.html +1 -1
- data/_includes/wordle-solver/wordle-solver.html +12 -1
- data/_includes/xyzpages/xyz.html +2 -2
- data/_layouts/page.html +2 -2
- data/assets/css/game.css +406 -0
- data/assets/css/wordleSolver.css +11 -0
- data/assets/images/close.png +0 -0
- data/assets/images/copy.svg +1 -0
- data/assets/images/facebooks.svg +1 -0
- data/assets/images/twitters.svg +1 -0
- data/assets/images/whatsapp.svg +1 -0
- data/assets/images/wordle.png +0 -0
- data/assets/js/confetti.js +130 -0
- data/assets/js/createWordle.js +71 -0
- data/assets/js/game.js +282 -0
- metadata +14 -4
- data/assets/css/wordGame.css +0 -99
- data/assets/js/wordGame.js +0 -42
@@ -0,0 +1,191 @@
|
|
1
|
+
<div class="game">
|
2
|
+
<div class="game-container">
|
3
|
+
<div class="d-flex justify-content-center align-items-center">
|
4
|
+
<div style="padding-top:4px; cursor: pointer;" data-toggle="modal" data-target="#how-to-play-wordle">
|
5
|
+
<i style="font-size:20px" class="bi bi-question-circle"></i>
|
6
|
+
</div>
|
7
|
+
<h1 class="text-center font-weight-bolder mb-0 my-4">
|
8
|
+
<a class="word-generator-link" href="/word-game-generator-online"> Make your own wordle </a>
|
9
|
+
</h1>
|
10
|
+
|
11
|
+
<!-- <div data-toggle="modal" data-target="#exampleModal">
|
12
|
+
<i style="font-size:20px" class="bi bi-question-circle"></i>
|
13
|
+
</div> -->
|
14
|
+
|
15
|
+
</div>
|
16
|
+
|
17
|
+
|
18
|
+
<div class="alert-container hide">
|
19
|
+
<span id="errorMsg"></span>
|
20
|
+
</div>
|
21
|
+
<div class="game-board">
|
22
|
+
<div class="tile"></div>
|
23
|
+
<div class="tile"></div>
|
24
|
+
<div class="tile"></div>
|
25
|
+
<div class="tile"></div>
|
26
|
+
<div class="tile"></div>
|
27
|
+
<div class="tile"></div>
|
28
|
+
<div class="tile"></div>
|
29
|
+
<div class="tile"></div>
|
30
|
+
<div class="tile"></div>
|
31
|
+
<div class="tile"></div>
|
32
|
+
<div class="tile"></div>
|
33
|
+
<div class="tile"></div>
|
34
|
+
<div class="tile"></div>
|
35
|
+
<div class="tile"></div>
|
36
|
+
<div class="tile"></div>
|
37
|
+
<div class="tile"></div>
|
38
|
+
<div class="tile"></div>
|
39
|
+
<div class="tile"></div>
|
40
|
+
<div class="tile"></div>
|
41
|
+
<div class="tile"></div>
|
42
|
+
<div class="tile"></div>
|
43
|
+
<div class="tile"></div>
|
44
|
+
<div class="tile"></div>
|
45
|
+
<div class="tile"></div>
|
46
|
+
<div class="tile"></div>
|
47
|
+
<div class="tile"></div>
|
48
|
+
<div class="tile"></div>
|
49
|
+
<div class="tile"></div>
|
50
|
+
<div class="tile"></div>
|
51
|
+
<div class="tile"></div>
|
52
|
+
</div>
|
53
|
+
<div data-keyboard class="game-keyboard mt-3">
|
54
|
+
<div class="game-keyboard-row">
|
55
|
+
<button role="button" class="key-btn" data-key="Q">Q</button>
|
56
|
+
<button role="button" class="key-btn" data-key="W">W</button>
|
57
|
+
<button role="button" class="key-btn" data-key="E">E</button>
|
58
|
+
<button role="button" class="key-btn" data-key="R">R</button>
|
59
|
+
<button role="button" class="key-btn" data-key="T">T</button>
|
60
|
+
<button role="button" class="key-btn " data-key="Y">Y</button>
|
61
|
+
<button role="button" class="key-btn" data-key="U">U</button>
|
62
|
+
<button role="button" class="key-btn" data-key="I">I</button>
|
63
|
+
<button role="button" class="key-btn" data-key="O">O</button>
|
64
|
+
<button role="button" class="key-btn" data-key="P">P</button>
|
65
|
+
</div>
|
66
|
+
<div class="game-keyboard-row">
|
67
|
+
<button role="button" class="key-btn" data-key="A">A</button>
|
68
|
+
<button role="button" class="key-btn" data-key="S">S</button>
|
69
|
+
<button role="button" class="key-btn" data-key="D">D</button>
|
70
|
+
<button role="button" class="key-btn" data-key="F">F</button>
|
71
|
+
<button role="button" class="key-btn" data-key="G">G</button>
|
72
|
+
<button role="button" class="key-btn" data-key="H">H</button>
|
73
|
+
<button role="button" class="key-btn" data-key="J">J</button>
|
74
|
+
<button role="button" class="key-btn" data-key="K">K</button>
|
75
|
+
<button role="button" class="key-btn" data-key="L">L</button>
|
76
|
+
</div>
|
77
|
+
<div class="game-keyboard-row">
|
78
|
+
<button role="button" class="key-btn backspace" data-delete>⌫</button>
|
79
|
+
<button role="button" class="key-btn" data-key="Z">Z</button>
|
80
|
+
<button role="button" class="key-btn" data-key="X">X</button>
|
81
|
+
<button role="button" class="key-btn" data-key="C">C</button>
|
82
|
+
<button role="button" class="key-btn" data-key="V">V</button>
|
83
|
+
<button role="button" class="key-btn" data-key="B">B</button>
|
84
|
+
<button role="button" class="key-btn letter-absent" data-key="N">N</button>
|
85
|
+
<button role="button" class="key-btn" data-key="M">M</button>
|
86
|
+
<button role="button" class="key-btn enter" data-enter>Enter</button>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
<span class="open-popup" data-toggle="modal" data-target="#exampleModal"></span>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
<div class="modal fade modalWrapper" id="exampleModal">
|
95
|
+
<div class="modal-dialog" style="max-width:400px">
|
96
|
+
<div class="modal-content">
|
97
|
+
<div class="modal-header p-2" style="background-color: #f8f9fa;">
|
98
|
+
<div class="gameResult"></div>
|
99
|
+
<button type="button" class="close" style="position: absolute; right: 0; top:-3px;"
|
100
|
+
data-dismiss="modal">
|
101
|
+
<span class="times-icon">×</span>
|
102
|
+
</button>
|
103
|
+
</div>
|
104
|
+
<div class="modal-body text-center" style="padding:2rem 0px 4rem 0">
|
105
|
+
<!-- <div class="iconWinLose tick"></div> -->
|
106
|
+
<div class="result-content">
|
107
|
+
<span id="answer" style="font-size: 20px;">You guessed the word</span>
|
108
|
+
<div id="result-guess-word" class="guess-word"></div>
|
109
|
+
</div>
|
110
|
+
<div class="wordle-game-play-links pt-4" style="padding:0 30px">
|
111
|
+
<a class="wordle-game-restart" href="/word-game-generator-online">
|
112
|
+
RESTART
|
113
|
+
</a>
|
114
|
+
<a class="wordle-game-share-link wordle-game-button font-weight-bolder">
|
115
|
+
<img src="/assets/images/copy.svg" alt="copy-link" style="width:20px; margin:0px 5px;">
|
116
|
+
Share this Wordle Link</a>
|
117
|
+
<a class="wordle-game-copy-link wordle-game-button">
|
118
|
+
<img src="/assets/images/copy.svg" alt="copy-link" style="width:20px; margin:0px 5px;">
|
119
|
+
Challenge a friend to this word</a>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div class="pt-4" style="font-size: 14px;">Share it with your friends</div>
|
124
|
+
<div class="social-sharing-icons d-flex">
|
125
|
+
<a class="facebook-share-link" target="_blank">
|
126
|
+
<img class="share-icon" src="/assets/images/facebooks.svg" alt="facebook-share">
|
127
|
+
</a>
|
128
|
+
<a class="twitter-share-link" target="_blank">
|
129
|
+
<img class="share-icon" src="/assets/images/twitters.svg" alt="twitter-share">
|
130
|
+
</a>
|
131
|
+
|
132
|
+
<a class="whatsapp-share-link" data-action="share/whatsapp/share" target="_blank"><img
|
133
|
+
class="share-icon" src="/assets/images/whatsapp.svg" alt="whatsapp-share"> </a>
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
|
142
|
+
|
143
|
+
<div class="modal fade" id="how-to-play-wordle" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
144
|
+
<div class="modal-dialog wordletip" style="top:20px !important">
|
145
|
+
<div class="modal-content">
|
146
|
+
<div class="modal-header px-4 p-2">
|
147
|
+
<h5 class="modal-title" id="exampleModalLabel">How to Play</h5>
|
148
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
149
|
+
<span aria-hidden="true">×</span>
|
150
|
+
</button>
|
151
|
+
</div>
|
152
|
+
<div class="modal-body p-2 px-4 py-4" style="font-size: 12px;">
|
153
|
+
<p>Guess the <strong>WORDLE</strong> in six tries.</p>
|
154
|
+
<p>Each guess must be a valid five-letter word. Hit the enter button to submit.</p>
|
155
|
+
<p>After each guess, the color of the tiles will change to show how close your guess was to the
|
156
|
+
word.</p>
|
157
|
+
<div id="wordle-examples">
|
158
|
+
<p><strong>Examples</strong></p>
|
159
|
+
<p><span class="wordle-game-spot wordle-game-correct" title="W"></span><span
|
160
|
+
class="wordle-game-spot" title="E"></span><span class="wordle-game-spot"
|
161
|
+
title="A"></span><span class="wordle-game-spot" title="R"></span><span
|
162
|
+
class="wordle-game-spot" title="Y"></span></p>
|
163
|
+
<p>The letter <strong>W</strong> is in the word and in the correct spot.</p>
|
164
|
+
<p><span class="wordle-game-spot" title="P"></span><span
|
165
|
+
class="wordle-game-spot wordle-game-present" title="I"></span><span class="wordle-game-spot"
|
166
|
+
title="L"></span><span class="wordle-game-spot" title="L"></span><span
|
167
|
+
class="wordle-game-spot" title="S"></span></p>
|
168
|
+
<p>The letter <strong>I</strong> is in the word but in the wrong spot.</p>
|
169
|
+
<p><span class="wordle-game-spot" title="V"></span><span class="wordle-game-spot"
|
170
|
+
title="A"></span><span class="wordle-game-spot" title="G"></span><span
|
171
|
+
class="wordle-game-spot wordle-game-absent" title="U"></span><span class="wordle-game-spot"
|
172
|
+
title="E"></span></p>
|
173
|
+
<p>The letter <strong>U</strong> is not in the word in any spot.</p>
|
174
|
+
</div>
|
175
|
+
<p>A new WORDLE can make easily yourself any time! </p>
|
176
|
+
|
177
|
+
<div class="wordl_ani">
|
178
|
+
<a style="background: #007bff;
|
179
|
+
color: #fff;
|
180
|
+
text-decoration: underline;
|
181
|
+
padding: 14px 15px;
|
182
|
+
border-radius: 5px;
|
183
|
+
display: block;
|
184
|
+
width: 170px;" href="/word-game-generator-online"> Make your own wordle </a>
|
185
|
+
|
186
|
+
</div>
|
187
|
+
|
188
|
+
</div>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
</div>
|
@@ -3,6 +3,17 @@
|
|
3
3
|
<div class="col-md-10 mx-auto ws">
|
4
4
|
<div style="font-size: 15px;" class="alert errMessage" role="alert"></div>
|
5
5
|
<form name="verify" class="forms_data">
|
6
|
+
|
7
|
+
<a href="/word-game-generator-online"
|
8
|
+
onclick="gtag('event', 'click', {'event_category': 'Link click', 'event_label': 'Make Your Own Wordle'});"
|
9
|
+
class="createWordleLink text-white">
|
10
|
+
|
11
|
+
<span class="text-white">
|
12
|
+
Make Your Own Wordle
|
13
|
+
</span>
|
14
|
+
|
15
|
+
</a>
|
16
|
+
|
6
17
|
<div class="form-group">
|
7
18
|
<label for="greenLetters" class="my-1 p-0 wordleSolver-label">Enter green letters at correct
|
8
19
|
position</label>
|
@@ -128,4 +139,4 @@
|
|
128
139
|
}
|
129
140
|
}
|
130
141
|
</script>
|
131
|
-
<script defer src="
|
142
|
+
<script defer src="/assets/js/wordleSolver.js"></script>
|
data/_includes/xyzpages/xyz.html
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
</div>
|
75
75
|
<div class="fillterWrapper hide" style="top:115px">
|
76
76
|
<div class="text-right times" style="cursor: pointer; margin-top:-15px;">
|
77
|
-
<img src="
|
77
|
+
<img src="/assets/images/window-close.png" alt="" width="15px">
|
78
78
|
|
79
79
|
</div>
|
80
80
|
<div class="startsWith same">
|
@@ -116,4 +116,4 @@
|
|
116
116
|
|
117
117
|
<!-- close commonPage as LandingPage -->
|
118
118
|
<link rel="stylesheet" href="{{ '/assets/css/advancedFilter.css' | relative_url }}">
|
119
|
-
<script src="
|
119
|
+
<script src="/assets/js/xyz.js"></script>
|
data/_layouts/page.html
CHANGED
@@ -71,7 +71,7 @@
|
|
71
71
|
{%- endif -%}
|
72
72
|
|
73
73
|
{%- if page.language -%}
|
74
|
-
<script data-language="{{page.language}}" src="
|
74
|
+
<script data-language="{{page.language}}" src="/assets/js/other-lang-wordScrabble.js" crossorigin></script>
|
75
75
|
{%- elsif page.tool != 'words-that-start-with-the-letters' -%}
|
76
76
|
<script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble-test.js
|
77
77
|
"></script>
|
@@ -79,7 +79,7 @@
|
|
79
79
|
{%- else -%}
|
80
80
|
|
81
81
|
{%- if page.language -%}
|
82
|
-
<script data-language="{{page.language}}" src="
|
82
|
+
<script data-language="{{page.language}}" src="/assets/js/other-lang-wordScrabble.js" crossorigin></script>
|
83
83
|
{%- elsif page.tool != 'words-that-start-with-the-letters' -%}
|
84
84
|
<script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble.js"></script>
|
85
85
|
{%- endif -%}
|
data/assets/css/game.css
ADDED
@@ -0,0 +1,406 @@
|
|
1
|
+
/* create wordle screen css */
|
2
|
+
.create-wordle{
|
3
|
+
box-shadow: 0 5px 15px rgb(0 0 0 / 20%) ;
|
4
|
+
margin-bottom: 150px;
|
5
|
+
padding:8rem 0;
|
6
|
+
}
|
7
|
+
.word-generator-link{
|
8
|
+
font-size: 18px;
|
9
|
+
background: #f8f9fa;
|
10
|
+
padding: 5px 15px;
|
11
|
+
color:#404040;
|
12
|
+
box-shadow: 0 0 1px rgba(0,0,0,0.1);
|
13
|
+
border-radius: 4px;
|
14
|
+
margin: 0 25px;
|
15
|
+
border:1px solid rgba(0,0,0,.1)
|
16
|
+
}
|
17
|
+
.create-wordle .custom-word{
|
18
|
+
font-weight: 600;
|
19
|
+
text-transform: uppercase;
|
20
|
+
width: 60%;
|
21
|
+
height: 50px;
|
22
|
+
margin:18px auto;
|
23
|
+
text-align: center;
|
24
|
+
outline: none;
|
25
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
26
|
+
background: rgba(255, 255, 255, 0.2);
|
27
|
+
border-radius: 40px;
|
28
|
+
color: #000;
|
29
|
+
font-size: 12px;
|
30
|
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
31
|
+
}
|
32
|
+
.create-wordle .generate-word-game-link,.copy-btn{
|
33
|
+
background-color: #6aaa64;
|
34
|
+
border: #6aaa64;
|
35
|
+
color: #fff;
|
36
|
+
padding: 12px 15px;
|
37
|
+
width: 120px;
|
38
|
+
border-radius: 40px;
|
39
|
+
font-size: 12px;
|
40
|
+
font-weight: 600;
|
41
|
+
}
|
42
|
+
.create-wordle .generate-word-game-link:hover,.copy-btn:hover{
|
43
|
+
color:#fff !important
|
44
|
+
}
|
45
|
+
::placeholder{
|
46
|
+
font-weight: 400;
|
47
|
+
text-transform: capitalize ;
|
48
|
+
}
|
49
|
+
/* modal style */
|
50
|
+
.close{
|
51
|
+
background-color: transparent;
|
52
|
+
border:none;
|
53
|
+
outline: none;
|
54
|
+
}
|
55
|
+
.times-icon{
|
56
|
+
font-size: 25px;
|
57
|
+
}
|
58
|
+
.modal-header .close{
|
59
|
+
margin: -1rem 0rem -1rem auto !important
|
60
|
+
}
|
61
|
+
.modal-dialog {
|
62
|
+
max-width: 450px !important;
|
63
|
+
margin: 0rem auto !important;
|
64
|
+
top: 60px !important;
|
65
|
+
}
|
66
|
+
|
67
|
+
.game{
|
68
|
+
width: 100%;
|
69
|
+
/* height: 100vh; */
|
70
|
+
}
|
71
|
+
|
72
|
+
/* wordle game play css */
|
73
|
+
.game .game-container .game-board{
|
74
|
+
width: 350px;
|
75
|
+
height: auto;
|
76
|
+
margin: 0 auto;
|
77
|
+
margin-top: 3px;
|
78
|
+
display: flex;
|
79
|
+
flex-wrap: wrap;
|
80
|
+
justify-content: center;
|
81
|
+
}
|
82
|
+
.game .game-container .game-board .tile{
|
83
|
+
display: flex;
|
84
|
+
justify-content: center;
|
85
|
+
align-items: center;
|
86
|
+
width: 55px;
|
87
|
+
height: 55px;
|
88
|
+
text-align: center;
|
89
|
+
border:2px solid #dee1e9;
|
90
|
+
border-radius: 5px;
|
91
|
+
color: #363535;
|
92
|
+
font-size: 28px;
|
93
|
+
font-weight: 700;
|
94
|
+
margin: 3px;
|
95
|
+
max-width: 64px;
|
96
|
+
text-transform: uppercase;
|
97
|
+
transition: transform 240ms linear;
|
98
|
+
}
|
99
|
+
.popAni{
|
100
|
+
animation: popAni 495ms ease-in-out;
|
101
|
+
}
|
102
|
+
.game .game-container .game-keyboard{
|
103
|
+
display: flex;
|
104
|
+
flex-direction: column;
|
105
|
+
width: 50%;
|
106
|
+
margin:0rem auto
|
107
|
+
}
|
108
|
+
.game .game-container .game-keyboard-row{
|
109
|
+
display: flex;
|
110
|
+
flex-direction: row;
|
111
|
+
justify-content: center;
|
112
|
+
}
|
113
|
+
.game .game-container .key-btn {
|
114
|
+
align-items: center;
|
115
|
+
background-color: #edeff1;
|
116
|
+
border: 2px solid transparent;
|
117
|
+
border-radius: 4px;
|
118
|
+
color: inherit;
|
119
|
+
cursor: pointer;
|
120
|
+
display: flex;
|
121
|
+
font-size: 16px;
|
122
|
+
font-weight: 900;
|
123
|
+
justify-content: center;
|
124
|
+
margin: 3px;
|
125
|
+
min-height: 40px;
|
126
|
+
padding: 14px;
|
127
|
+
text-decoration: inherit;
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
.alert-container{
|
132
|
+
font-size: 15px;
|
133
|
+
box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
|
134
|
+
position: fixed;
|
135
|
+
top: 160px;
|
136
|
+
left: 50%;
|
137
|
+
transform: translate(-50%, -50%);
|
138
|
+
width: 180px;
|
139
|
+
padding: 12px 0px;
|
140
|
+
text-align: center;
|
141
|
+
z-index: 9999999;
|
142
|
+
background: #000;
|
143
|
+
color:#fff;
|
144
|
+
border-radius: 4px;
|
145
|
+
}
|
146
|
+
.active-alert{
|
147
|
+
visibility: visible;
|
148
|
+
}
|
149
|
+
.tick {
|
150
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL7SURBVEhL7ZZdSBRRFMf/s+PWSrsUFGoUfi1ooWISFUQPvfRhH1hUL5agvogvaQ/hamBRbz0W2VNBQb2IgqJsGL2VVBK11UNpPkhGKmWK6wfu7kznzFxGx5lxZ+tN/MGdOefOzP3PnTn3noN11jySOLvnWamfniqGJGVovqpOQMVnHI9ENd8l7oTDe/zwSGfp7nPkHaPm0/qXWKD2kl7gERS1A+Uf5vVuZ1YXbg9KCAT2kWgjeaeoBbR+Z/gFupFQWhGNDuLCsKp3W3EW1kQ3HYRHfkhegd7pmkEoiVrMzPY7iXvE2YrfXyJEg3pHShTQsw9oDMcXthfuLfNDlq+RxQ/KWl/qFNIYN7WxbLAX9uIMhWu58P4D9TSNVSEcE06fmqM3WSAZ+DwbcCXnEk5sO7QyaNKpVeumGWtw9ZYE4E2bIGvlkrGFRZtyqxHKq8HQ3HfsfVOJmBIXVzUWEItn4OSnGeFrWGcspxXR0ZXolrQAmkgwlFeL4blRtAzdRVxJiKsGPhqzUNgGVmFJzRSWCVmSqZlvb8ipRCi3BtPxGYSG7qD3F+8hNqtHUncIy8DpH5tg0VvBeoTL7iHbl6XN9HqwDjfy6zCy8BPnI1edRXUsv9QqrEo/hGXAA+7fXIwjWw+gbXczmunTNmZX4uvcCFq/teHVVGQ1UR5zTFgGroMrJz0LbbtatMhlxhd/azNNKuoQXNbN4enEIqq2HyYrX+/QmY5H8XzyNYr8QSwqMVz+chsvJgeSiTI9KI88FraB/V7dV3aRjvepWdYyz3znxkz0T310I8qzrMfR9090dwn74Iqhk94pLDwTI/Njbj6vQOqhsbqEY8J+xky4lPZaTzdZqWYmhhfzMBSligqEt3qXGeflxPmUUxunuNQhUU6L0QHhW3DOPO1/gAr/KLzePioEuMzhYPNq15zhf9pJhUADorPv/q0QWA6XPrLEWYaTB2ctu9KHY6IDCbWLSp+k9Zc74eVwseehXAuJt0GJir1xirOUi7111jrAXwKK6K/PgrsYAAAAAElFTkSuQmCC) no-repeat;
|
151
|
+
height: 35px;
|
152
|
+
margin: 10px 0;
|
153
|
+
background-position: center;
|
154
|
+
}
|
155
|
+
.close-icon {
|
156
|
+
background: url(/assets/images/close.png) no-repeat;
|
157
|
+
height: 20px;
|
158
|
+
margin: 10px 0;
|
159
|
+
background-position: center;
|
160
|
+
background-size: contain;
|
161
|
+
}
|
162
|
+
[data-state="active"] {
|
163
|
+
border-color: hsl(200, 1%, 34%);
|
164
|
+
}
|
165
|
+
[data-state="correct-spot"] {
|
166
|
+
color:#fff !important;
|
167
|
+
background-color:#6aaa64 !important;
|
168
|
+
border: none !important;
|
169
|
+
}
|
170
|
+
[data-state="wrong-spot"] {
|
171
|
+
color:#fff !important;
|
172
|
+
background-color: #c9b458 !important;
|
173
|
+
border: none !important;
|
174
|
+
}
|
175
|
+
[data-state="wrong-word"] {
|
176
|
+
color:white !important;
|
177
|
+
background-color: #787c7e!important;
|
178
|
+
border: none !important;
|
179
|
+
}
|
180
|
+
.shake {
|
181
|
+
animation: shake 240ms ease-in-out;
|
182
|
+
}
|
183
|
+
.dance {
|
184
|
+
animation: dance 495ms ease-in-out;
|
185
|
+
}
|
186
|
+
.flip {
|
187
|
+
transform: rotateX(90deg);
|
188
|
+
}
|
189
|
+
.wordle-game-restart{
|
190
|
+
width: 120px;
|
191
|
+
margin: 0 auto;
|
192
|
+
background: #57ac57;
|
193
|
+
color: #fff;
|
194
|
+
display: block;
|
195
|
+
font-weight: 600;
|
196
|
+
padding: 10px;
|
197
|
+
border-radius: 5px;
|
198
|
+
font-size: 16px;
|
199
|
+
margin-bottom: 1rem;
|
200
|
+
text-align: center;
|
201
|
+
}
|
202
|
+
.wordle-game-restart:hover{
|
203
|
+
color:#fff !important;
|
204
|
+
text-decoration: none !important;
|
205
|
+
}
|
206
|
+
|
207
|
+
@keyframes shake {
|
208
|
+
10% {
|
209
|
+
transform: translateX(-5%);
|
210
|
+
}
|
211
|
+
|
212
|
+
30% {
|
213
|
+
transform: translateX(5%);
|
214
|
+
}
|
215
|
+
|
216
|
+
50% {
|
217
|
+
transform: translateX(-7.5%);
|
218
|
+
}
|
219
|
+
|
220
|
+
70% {
|
221
|
+
transform: translateX(7.5%);
|
222
|
+
}
|
223
|
+
|
224
|
+
90% {
|
225
|
+
transform: translateX(-5%);
|
226
|
+
}
|
227
|
+
|
228
|
+
100% {
|
229
|
+
transform: translateX(0);
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
@keyframes dance {
|
234
|
+
20% {
|
235
|
+
transform: translateY(-50%)
|
236
|
+
}
|
237
|
+
|
238
|
+
40% {
|
239
|
+
transform: translateY(5%)
|
240
|
+
}
|
241
|
+
|
242
|
+
60% {
|
243
|
+
transform: translateY(-25%)
|
244
|
+
}
|
245
|
+
|
246
|
+
80% {
|
247
|
+
transform: translateY(2.5%)
|
248
|
+
}
|
249
|
+
|
250
|
+
90% {
|
251
|
+
transform: translateY(-5%)
|
252
|
+
}
|
253
|
+
|
254
|
+
100% {
|
255
|
+
transform: translateY(0%)
|
256
|
+
}
|
257
|
+
}
|
258
|
+
|
259
|
+
@keyframes popAni {
|
260
|
+
0% {
|
261
|
+
transform: scale(.8);
|
262
|
+
opacity: 0;
|
263
|
+
}
|
264
|
+
|
265
|
+
40% {
|
266
|
+
transform: scale(1.1);
|
267
|
+
opacity: 1;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
.alert-Container {
|
272
|
+
position: fixed;
|
273
|
+
top: 10vh;
|
274
|
+
left: 50vw;
|
275
|
+
transform: translateX(-50%);
|
276
|
+
z-index: 10;
|
277
|
+
display: flex;
|
278
|
+
flex-direction: column;
|
279
|
+
align-items: center;
|
280
|
+
}
|
281
|
+
|
282
|
+
|
283
|
+
#confetti-canvas{
|
284
|
+
width: 100%;
|
285
|
+
position: fixed;
|
286
|
+
top:0
|
287
|
+
}
|
288
|
+
|
289
|
+
.gameResult{
|
290
|
+
text-align: center;
|
291
|
+
width: 100%;
|
292
|
+
font-size: 18px;
|
293
|
+
font-weight: 900;
|
294
|
+
}
|
295
|
+
#result-guess-word{
|
296
|
+
background: #f8f9fa;
|
297
|
+
width: 100px;
|
298
|
+
text-align: center;
|
299
|
+
margin: 0 auto;
|
300
|
+
padding: 8px;
|
301
|
+
border-radius: 5px;
|
302
|
+
border: 1px dashed gray;
|
303
|
+
margin-top: 1rem;
|
304
|
+
font-size: 15px;
|
305
|
+
text-transform: uppercase;
|
306
|
+
font-weight: 600;
|
307
|
+
}
|
308
|
+
.wordle-game-button{
|
309
|
+
padding: 0px 15px;
|
310
|
+
color: #626568;
|
311
|
+
font-size: 14px;
|
312
|
+
background: #f5f7fb;
|
313
|
+
padding: 8px 5px;
|
314
|
+
border: none;
|
315
|
+
width: 100%;
|
316
|
+
/* font-weight: 700; */
|
317
|
+
border-radius: 7px;
|
318
|
+
display: flex;
|
319
|
+
text-decoration: none;
|
320
|
+
cursor: pointer;
|
321
|
+
justify-content: center;
|
322
|
+
align-items: center;
|
323
|
+
align-content: center;
|
324
|
+
margin: 6px 0px;
|
325
|
+
border: 1px solid rgba(0,0,0,0.1);
|
326
|
+
}
|
327
|
+
.wordle-game-button:hover{
|
328
|
+
text-decoration: none !important;
|
329
|
+
}
|
330
|
+
.social-sharing-icons{
|
331
|
+
display:flex;
|
332
|
+
justify-content: center;
|
333
|
+
}
|
334
|
+
.share-icon{
|
335
|
+
width: 50px;
|
336
|
+
height: 50px;
|
337
|
+
}
|
338
|
+
|
339
|
+
|
340
|
+
#wordle-examples {
|
341
|
+
border-top: 1px solid rgba(0,0,0,0.1);
|
342
|
+
border-bottom: 1px solid rgba(0,0,0,0.1);
|
343
|
+
padding: 1rem 0rem;
|
344
|
+
}
|
345
|
+
.wordle-game-spot {
|
346
|
+
padding: 20px;
|
347
|
+
border: 2px solid #3a3a3c;
|
348
|
+
margin: 2px;
|
349
|
+
display: inline-block;
|
350
|
+
line-height: 0;
|
351
|
+
font-weight: bold;
|
352
|
+
text-align: center;
|
353
|
+
font-size: 25px;
|
354
|
+
}
|
355
|
+
.wordle-game-absent {
|
356
|
+
background-color: #3a3a3c !important;
|
357
|
+
border-color: #3a3a3c !important;
|
358
|
+
color: #fff;
|
359
|
+
}
|
360
|
+
.wordle-game-present {
|
361
|
+
background-color: #b59f3b !important;
|
362
|
+
border-color: #b59f3b !important;
|
363
|
+
color: white;
|
364
|
+
}
|
365
|
+
.wordle-game-correct {
|
366
|
+
background-color: #538d4e !important;
|
367
|
+
border-color: #538d4e !important;
|
368
|
+
color: white;
|
369
|
+
}
|
370
|
+
.wordle-game-spot:before {
|
371
|
+
content: "\a0";
|
372
|
+
}
|
373
|
+
.wordle-game-spot[title]:before { content: attr(title); }
|
374
|
+
.wordle-game-row-active .wordle-game-spot {
|
375
|
+
border-color: #666;
|
376
|
+
}
|
377
|
+
@media (max-width: 768px) {
|
378
|
+
#create-wordle-form{
|
379
|
+
padding:0 10px;
|
380
|
+
}
|
381
|
+
.create-wordle .custom-word{
|
382
|
+
width: 100%;
|
383
|
+
}
|
384
|
+
#exampleModal,.wordletip{
|
385
|
+
padding:15px;
|
386
|
+
}
|
387
|
+
.game .game-container .key-btn{
|
388
|
+
margin:2px;
|
389
|
+
padding:15px 10px;
|
390
|
+
}
|
391
|
+
.game .game-container .game-keyboard{
|
392
|
+
margin-top: 3rem !important;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
/*
|
397
|
+
.wordl_ani{
|
398
|
+
animation: animated 3s ease-in-out infinite;
|
399
|
+
}
|
400
|
+
|
401
|
+
@keyframes animated {
|
402
|
+
100%{
|
403
|
+
transform: scale(1.03);
|
404
|
+
}
|
405
|
+
*/
|
406
|
+
/* } */
|
data/assets/css/wordleSolver.css
CHANGED
@@ -120,6 +120,17 @@
|
|
120
120
|
margin: 10px auto;
|
121
121
|
width: 75%;
|
122
122
|
}
|
123
|
+
.createWordleLink{
|
124
|
+
display: block;
|
125
|
+
box-shadow: 0 0 1px rgb(0 0 0 / 10%);
|
126
|
+
border: none;
|
127
|
+
padding: 10px 15px;
|
128
|
+
width: 100%;
|
129
|
+
background: rgb(118, 118, 118);
|
130
|
+
border-radius: 20px;
|
131
|
+
font-size: 15px;
|
132
|
+
margin-bottom: 10px;
|
133
|
+
}
|
123
134
|
@media (max-width: 768px) {
|
124
135
|
.allfiveletterswords,
|
125
136
|
#wordleWordCount {
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg id="SvgjsSvg1020" width="288" height="288" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1021"></defs><g id="SvgjsG1022"><svg xmlns="http://www.w3.org/2000/svg" width="288" height="288" viewBox="0 0 24 24"><path d="M20,16V4H8V16H20M22,16A2,2 0 0,1 20,18H8C6.89,18 6,17.1 6,16V4C6,2.89 6.89,2 8,2H20A2,2 0 0,1 22,4V16M16,20V22H4A2,2 0 0,1 2,20V7H4V20H16Z" fill="#626568" class="color000 svgShape"></path></svg></g></svg>
|