summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ce5130c..a1cbc2a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -189,8 +189,12 @@ int main(void)
char text[50];
- sprintf(text, "Joystick %d,%d", inputs_p1.stick_x, inputs_p1.stick_y);
- DrawText(text, 10, 30, 12, GREEN);
+ //sprintf(text, "Joystick %d,%d", inputs_p1.stick_x, inputs_p1.stick_y);
+ //DrawText(text, 10, 30, 12, GREEN);
+ sprintf(text, "Player1: %d", world.players[0].points);
+ DrawText(text, 50, 30, 12, BLUE);
+ sprintf(text, "Player2: %d", world.players[1].points);
+ DrawText(text, 210, 30, 12, VIOLET);
/*
DrawText("Position", 150, 30, 12, GREEN);
DrawText(text, 150, 45, 12, GREEN);