Commit graph

7 commits

Author SHA1 Message Date
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 69c3b43834
Add logic for auto-moves 2024-12-03 01:55:54 +01:00
ItsDrike c47f973873
Extract logic to check if move to column is legal 2024-12-03 01:54:01 +01:00
ItsDrike a1d676779d
Keep track of gameWon state 2024-12-03 01:33:12 +01:00
ItsDrike b558a3396e
Fix signal naming 2024-12-03 00:33:22 +01:00
ItsDrike 48f84bb528
Store revealed state for the columns 2024-12-02 16:10:51 +01:00
ItsDrike 0b65ce5d56
Add basic GameState class 2024-12-01 22:40:42 +01:00