Split Color Game into digit and color modes with up to 16 pods.

Add menu entries for both variants, use eight high-contrast colors with allowed duplicates, and turn wrong-guess pods off after a red blink until the next round.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-02 00:00:21 +01:00
co-authored by Cursor
parent 2138039b72
commit 639f4b088d
4 changed files with 217 additions and 41 deletions
+12 -5
View File
@@ -29,12 +29,12 @@ anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -180.0
offset_top = -280.0
offset_top = -320.0
offset_right = 180.0
offset_bottom = 280.0
offset_bottom = 320.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 16
theme_override_constants/separation = 14
alignment = 1
[node name="Title" type="Label" parent="CenterBox"]
@@ -76,12 +76,19 @@ size_flags_horizontal = 4
theme_override_font_sizes/font_size = 18
text = "Pong"
[node name="ColorGameButton" type="Button" parent="CenterBox"]
[node name="DigitsGameButton" type="Button" parent="CenterBox"]
custom_minimum_size = Vector2(280, 48)
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 18
text = "Color Game"
text = "Zahlen-Spiel"
[node name="ColorsGameButton" type="Button" parent="CenterBox"]
custom_minimum_size = Vector2(280, 48)
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 18
text = "Farben-Spiel"
[node name="SpaceShooterButton" type="Button" parent="CenterBox"]
custom_minimum_size = Vector2(280, 48)