-
+
@@ -22,8 +41,6 @@ import { Transition } from 'vue';
.v-enter-active {
transition: opacity 0.5s ease;
}
-
-
.gw-div::first-letter {
font-weight: bold;
}
@@ -35,8 +52,11 @@ import { Transition } from 'vue';
background-color: grey;
color: white;
}
+ .gw-button {
+ }
+
.default {
- background-color: rgb(79, 79, 79);
+ background-color: var(--incorrect-guess)
}
.more {
background-color: rgb(255, 0, 0);
@@ -45,13 +65,20 @@ import { Transition } from 'vue';
background-color: rgb(129, 112, 0);
}
.cw-cp {
- background-color: rgb(0, 126, 2);
+ background-color: var(--correct-guess)
}
.cw-ip {
background-color: rgb(98, 175, 99);
}
.cf-cp {
- background-color: rgb(37, 43, 154);
+ background-color: var(--partial-correct-guess);
+ border: solid white;
+ }
+ .cf-cp.hover {
+ background-color: #4CAF50; /* Green */
+ }
+ .cf-cp.focus {
+ background-color: red;
}
.cf-ip {
background-color: rgb(106, 108, 160);
diff --git a/resources/js/components/HowToPlay.vue b/resources/js/components/HowToPlay.vue
index 2962f92..4114d2c 100644
--- a/resources/js/components/HowToPlay.vue
+++ b/resources/js/components/HowToPlay.vue
@@ -35,8 +35,10 @@
Acronym
+ If you manage to figure out a letter in its correct position you unlock a mini wordle for that specific word. Press the word if it has a white outline to launch it!
+
If you have any feedback,
- let me know in an email, or create a pull request
+ let me know in an email, or create an issue
diff --git a/resources/js/components/Wordle.vue b/resources/js/components/Wordle.vue
new file mode 100644
index 0000000..73bb38e
--- /dev/null
+++ b/resources/js/components/Wordle.vue
@@ -0,0 +1,91 @@
+
+
+
+
Wordle for word {{ index }}
+
+
+
+
+
+
+
+
+
+
+
+ Submit
+
+
+
+
+
+
+
+ You guessed word #{{ index }}! It was '{{ correct }}'
+
+
+
+
+ Submit
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/js/components/WordleRow.vue b/resources/js/components/WordleRow.vue
new file mode 100644
index 0000000..31eb3d3
--- /dev/null
+++ b/resources/js/components/WordleRow.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+ {{ guess[i-1] }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/js/pages/HomeView.vue b/resources/js/pages/HomeView.vue
index c32c34d..dc88adf 100644
--- a/resources/js/pages/HomeView.vue
+++ b/resources/js/pages/HomeView.vue
@@ -3,6 +3,7 @@
import GuessWord from '../components/GuessWord.vue';
import Modal from '../components/Modal.vue';
import Review from '../components/Review.vue';
+import Wordle from '../components/Wordle.vue';