Commit graph

9 commits

Author SHA1 Message Date
ItsDrike ef16bf9188
Keep track of the game score 2024-12-12 20:57:48 +01:00
ItsDrike 1ecfd36598
Restart the timer on game restar 2024-12-12 20:02:12 +01:00
ItsDrike 48d1bd0a89
Add win overlay 2024-12-09 21:02:43 +01:00
ItsDrike e46d153604
Add game timer 2024-12-08 14:02:04 +01:00
ItsDrike 7ef0ade0b3
Keep track of move amount 2024-12-08 13:58:18 +01:00
ItsDrike 811900c75f
Use a saner default app dimensions (bigger height) 2024-12-08 13:14:44 +01:00
ItsDrike 57958ed853
Dynamically scale the cards & everything else
Currently, most things were scaled based on the card dimensions,
though some things were hard-coded. This commit moves away from all
hard-coded sizes in favor of everything relying on card heights.

Additionally, it makes the card height itself no longer hard-coded,
passing it as a property to most custom structures.

The card height itself is now calculated from Main.qml to make sure
everything fits within the screen and scales as the window is resized.
2024-12-08 13:09:15 +01:00
ItsDrike ad690429a4
Format qml files 2024-12-05 03:24:09 +01:00
ItsDrike cb75fde6d7
Move all qml files to qml/ dir 2024-12-05 01:22:18 +01:00
Renamed from Main.qml (Browse further)