Kieran Kihn
|
44120f1393
|
test(game): add test cases for CardTile
|
2025-11-16 20:54:01 +08:00 |
|
Kieran Kihn
|
9e6ded8087
|
fix(game): changed number of cards
|
2025-11-16 20:53:21 +08:00 |
|
Kieran Kihn
|
7e996931ef
|
fix(game): fixed unused var in CardTile::shuffle and add const for DiscardPile::getFront()
|
2025-11-16 20:52:40 +08:00 |
|
Kieran Kihn
|
f06fee17cc
|
fix(common): add defination of COMMON::Utils::instance_
|
2025-11-16 20:50:42 +08:00 |
|
Kieran Kihn
|
8dbdbb395c
|
feat(game): add PlayerState and GameState
|
2025-11-16 20:22:19 +08:00 |
|
Kieran Kihn
|
e2a27e4417
|
refactor(game): renamed handCard_ to handCard in Player
|
2025-11-16 20:21:35 +08:00 |
|
Kieran Kihn
|
c8c779d711
|
fix(game): init Deck in construct function by default
|
2025-11-16 20:18:19 +08:00 |
|
Kieran Kihn
|
dbaf3c9899
|
chore: updated ide config
|
2025-11-16 19:54:34 +08:00 |
|
Kieran Kihn
|
49523a0384
|
fix(game): changed isEmpty of CardTile from protected to public
|
2025-11-16 19:54:18 +08:00 |
|
Kieran Kihn
|
da0f2160ce
|
feat(game): add canBePlayedOn for Card
|
2025-11-16 19:52:47 +08:00 |
|
Kieran Kihn
|
1b9ff0b413
|
feat(game): add Player
|
2025-11-16 19:52:09 +08:00 |
|
Kieran Kihn
|
efb80c3b40
|
feat(game): add operator< for Card
|
2025-11-16 13:23:41 +08:00 |
|
Kieran Kihn
|
c8ff2dfb16
|
chore: updated ide config
|
2025-11-16 12:58:24 +08:00 |
|
Kieran Kihn
|
1e49f5ffbb
|
test(game): add test cases for Card
|
2025-11-16 11:47:26 +08:00 |
|
Kieran Kihn
|
acd0cae705
|
chore: updated CMakeList.txt
|
2025-11-16 11:44:33 +08:00 |
|
Kieran Kihn
|
8873c76904
|
chore: edited .clang-format
|
2025-11-16 11:42:48 +08:00 |
|
Kieran Kihn
|
e2372623ba
|
feat(game): add getFront and front for DiscardTile
|
2025-11-16 11:42:05 +08:00 |
|
Kieran Kihn
|
f4f2691c04
|
chore: renamed utils to Utils
|
2025-11-16 11:32:08 +08:00 |
|
Kieran Kihn
|
f28af1978d
|
feat(game): add CardTile
|
2025-11-15 23:08:11 +08:00 |
|
Kieran Kihn
|
60a058c930
|
feat(common): add utils::random
|
2025-11-15 22:27:51 +08:00 |
|
Kieran Kihn
|
543137ed06
|
feat(game): add new class: Card
|
2025-11-15 22:22:02 +08:00 |
|
Kieran Kihn
|
9ebf366637
|
initial commit
|
2025-11-14 17:43:58 +08:00 |
|