glimmer_wordle 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/VERSION +1 -1
- data/app/wordle/view/app_view.rb +14 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9800b6532f92f6e16b1a0f3c1038e4ca5a4fde73142a53a4d0658dbee820d054
|
4
|
+
data.tar.gz: c45d65f4eb19101881b796f815947f3b531c1c09c354024ed2bcc0f78645cff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4be688132ddf6e47e2c49f954ec20058871ac660c01b0a2beb7b3118c74112f78acaa5422826db1486040fcc4b7acbe98ed3998d675180e497b545e0b9ebcc42
|
7
|
+
data.tar.gz: e01b773bf5dfb80ede4fae35d761f25b342bcb270a4401062af9d67dd29489302bc7a2246daf8d500ae409aba49a57d9957eb542336b02630cd6474c29c90dee
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# <img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=85 /> Glimmer Wordle 1.1.
|
1
|
+
# <img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=85 /> Glimmer Wordle 1.1.6
|
2
2
|
## Play Wordle Endlessly with No Limit!
|
3
3
|
[](http://badge.fury.io/rb/glimmer_wordle)
|
4
4
|
|
@@ -24,9 +24,9 @@ Other [Glimmer](https://github.com/AndyObtiva/glimmer) games:
|
|
24
24
|
|
25
25
|
### Download
|
26
26
|
|
27
|
-
[<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=40 /> Download Glimmer Wordle 1.1.
|
27
|
+
[<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=40 /> Download Glimmer Wordle 1.1.5 DMG for Mac x86_64 Ventura 13.4.1 and Older](https://www.dropbox.com/scl/fi/logokhlklr186m04lmj5u/Glimmer-Wordle-1.1.5-x86_64-ventura-13.4.1.dmg?rlkey=jlzah028gpy5h270yceeiy315&dl=1)
|
28
28
|
|
29
|
-
[<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=40 /> Download Glimmer Wordle 1.1.4 DMG for Mac
|
29
|
+
[<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=40 /> Download Glimmer Wordle 1.1.4 DMG for Mac ARM64 Ventura and Older](https://www.dropbox.com/s/diah745mycc8elz/Glimmer%20Wordle-1.1.4-arm64.dmg?dl=1)
|
30
30
|
|
31
31
|
[<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer_wordle/master/icons/linux/Glimmer Wordle.png' height=40 /> Download Glimmer Wordle 1.1.2 DMG for Mac x86_64 Catalina and Older](https://www.dropbox.com/s/ysureb9o1dky7w0/Glimmer%20Wordle-1.1.2.dmg?dl=1)
|
32
32
|
|
@@ -64,6 +64,10 @@ The game menu bar has these View menu options:
|
|
64
64
|
|
65
65
|

|
66
66
|
|
67
|
+
Also, the game supports Dark Mode, and will adopt a Dark Mode theme automatically if you start it with your System Settings having Dark Mode.
|
68
|
+
|
69
|
+

|
70
|
+
|
67
71
|
## Process
|
68
72
|
|
69
73
|
[Glimmer Process](https://github.com/AndyObtiva/glimmer/blob/master/PROCESS.md)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.6
|
data/app/wordle/view/app_view.rb
CHANGED
@@ -77,7 +77,7 @@ class Wordle
|
|
77
77
|
image File.join(APP_ROOT, 'icons', 'windows', "Glimmer Wordle.ico") if OS.windows?
|
78
78
|
image File.join(APP_ROOT, 'icons', 'linux', "Glimmer Wordle.png") unless OS.windows?
|
79
79
|
text "Glimmer Wordle"
|
80
|
-
background :white
|
80
|
+
background Display.system_dark_theme? ? :black : :white
|
81
81
|
|
82
82
|
app_menu_bar
|
83
83
|
|
@@ -86,6 +86,7 @@ class Wordle
|
|
86
86
|
label {
|
87
87
|
layout_data :center, :center, true, false
|
88
88
|
text 'You have 6 tries to guess a 5-letter word'
|
89
|
+
background Display.system_dark_theme? ? :black : :transparent
|
89
90
|
background :transparent if OS.windows?
|
90
91
|
}
|
91
92
|
|
@@ -199,7 +200,7 @@ class Wordle
|
|
199
200
|
vertical_spacing 0
|
200
201
|
}
|
201
202
|
|
202
|
-
background :white
|
203
|
+
background Display.system_dark_theme? ? :black : :white
|
203
204
|
|
204
205
|
alphabets
|
205
206
|
}
|
@@ -231,22 +232,23 @@ class Wordle
|
|
231
232
|
def alphabet_row(alphabet_characters, &block)
|
232
233
|
canvas {
|
233
234
|
block.call
|
234
|
-
background :white
|
235
|
+
background Display.system_dark_theme? ? :black : :white
|
235
236
|
|
236
237
|
@alphabet_rectangles ||= []
|
237
238
|
@alphabet_borders ||= []
|
238
239
|
@alphabet_letters ||= []
|
239
240
|
alphabet_characters.each_with_index do |alphabet_character, i|
|
240
241
|
@alphabet_rectangles << rectangle(1 + i*32, @alphabet_row_offset_y, 28, 28) {
|
241
|
-
background :transparent
|
242
|
+
background Display.system_dark_theme? ? :black : :transparent
|
242
243
|
|
243
244
|
@alphabet_borders << rectangle {
|
244
|
-
foreground :gray
|
245
|
+
foreground Display.system_dark_theme? ? :white : :gray
|
245
246
|
line_width 2
|
246
247
|
}
|
247
248
|
|
248
249
|
@alphabet_letters << text(alphabet_character, :default, [:default, OS.linux? ? 5 : (OS.windows? ? 1 : 0)]) {
|
249
250
|
font alphabet_font
|
251
|
+
foreground Display.system_dark_theme? ? :white : :black
|
250
252
|
}
|
251
253
|
}
|
252
254
|
end
|
@@ -266,7 +268,7 @@ class Wordle
|
|
266
268
|
width_hint 230
|
267
269
|
height_hint 50
|
268
270
|
}
|
269
|
-
background :white
|
271
|
+
background Display.system_dark_theme? ? :black : :white
|
270
272
|
focus true
|
271
273
|
|
272
274
|
@rectangles = []
|
@@ -274,7 +276,7 @@ class Wordle
|
|
274
276
|
@letters = []
|
275
277
|
5.times do |i|
|
276
278
|
@rectangles << rectangle(margin_x + i*45, margin_y, 40, 40) {
|
277
|
-
background :transparent
|
279
|
+
background Display.system_dark_theme? ? :black : :transparent
|
278
280
|
|
279
281
|
@borders << rectangle {
|
280
282
|
foreground i == 0 ? :title_background : :gray
|
@@ -283,6 +285,7 @@ class Wordle
|
|
283
285
|
|
284
286
|
@letters << text('', :default, [:default, OS.linux? ? 6 : (OS.windows? ? 1 : 0)]) {
|
285
287
|
font letter_font
|
288
|
+
foreground Display.system_dark_theme? ? :white : :black
|
286
289
|
}
|
287
290
|
}
|
288
291
|
end
|
@@ -293,6 +296,8 @@ class Wordle
|
|
293
296
|
@guess_button = button {
|
294
297
|
layout_data :center, :center, true, false
|
295
298
|
text 'Guess'
|
299
|
+
background Display.system_dark_theme? ? :black : :white
|
300
|
+
foreground Display.system_dark_theme? ? :white : :black
|
296
301
|
|
297
302
|
on_widget_selected do
|
298
303
|
do_guess
|
@@ -460,14 +465,14 @@ class Wordle
|
|
460
465
|
def alphabet_font
|
461
466
|
the_font = {style: :bold, height: 28}
|
462
467
|
the_font.merge!(name: 'Helvetica', height: 21) if OS.linux?
|
463
|
-
the_font.merge!(name: 'Arial', height: 25) if OS.windows?
|
468
|
+
the_font.merge!(name: 'Arial', height: 25) if OS.windows?
|
464
469
|
the_font
|
465
470
|
end
|
466
471
|
|
467
472
|
def letter_font
|
468
473
|
the_font = {style: :bold, height: 40}
|
469
474
|
the_font.merge!(name: 'Helvetica', height: 30) if OS.linux?
|
470
|
-
the_font.merge!(name: 'Arial', height: 32) if OS.windows?
|
475
|
+
the_font.merge!(name: 'Arial', height: 32) if OS.windows?
|
471
476
|
the_font
|
472
477
|
end
|
473
478
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer_wordle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|