ItsDrike
aa611b81ed
Don't pre-draw cards
2024-12-04 18:04:19 +01:00
ItsDrike
3acfe3e093
Turn GameState into QML singleton
2024-12-03 15:32:30 +01:00
ItsDrike
883d766dc3
Register QObject classes as QML elements via macros
...
Using manual registration with qmlRegisterType (or
qmlRegisterUncreatableType) isn't ideal, because Qt Creator can't pick
up on it. When using the macros, autocompletion & unknown type warnings
in the code disappear.
2024-12-03 15:05:30 +01:00
ItsDrike
c35dd9e56e
Store column property to avoid repetition
2024-12-03 00:23:49 +01:00
ItsDrike
730b92fa65
Add first row, with foundation,throwaway & draw piles
2024-12-02 15:35:37 +01:00
ItsDrike
0b65ce5d56
Add basic GameState class
2024-12-01 22:40:42 +01:00
ItsDrike
868699979d
Improve PlayingCard class
...
- Move to using enums to represent the suit & value
- This changes the badly named color to more appropriate suit.
- Add createDeck static method
2024-12-01 21:17:45 +01:00
ItsDrike
e3242b71e9
Manage playing cards from C++ only
2024-12-01 19:43:49 +01:00
ItsDrike
8bd923a6fa
Initial commit
2024-11-30 19:23:45 +01:00