summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-07-05 08:55:35 -0700
committerBoredGuy <osome3717@gmail.com>2025-07-05 08:55:35 -0700
commit9bac7b3a3fbd4b7f75def9e620660828ca5a80b6 (patch)
tree653b877ade0d9700177dc34e5f6faa20e10d8eb3
parent28629e090b93438ca4e6b11e30fc3d2122fa6476 (diff)
For Debug
-rw-r--r--src/game.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 778859c..8b4326d 100644
--- a/src/game.c
+++ b/src/game.c
@@ -285,6 +285,7 @@ static inline int NextPlayer() {
//Make next player draw 5
void AceOfSpadesEffect() {
+ puts("Here!");
for (int i = 0; i < 5; i++) Deal(NextPlayer());
NextTurn();
}
@@ -302,7 +303,9 @@ void FiveEffect() {
}
void CardEffect(Card* c) {
+ puts("HereToo!");
if (c->suite == SPADE && c->face == 0) {
+ puts("TeeHeee!");
c->afterMove = AceOfSpadesEffect;
}
@@ -326,6 +329,7 @@ void HandleMousePress() {
if (MouseOn(c) && CanPlayCard(c)) {
if(IsSpecialCard(c)) {
+ puts("Shloobolo");
CardEffect(c);
}
else {