27 lines
333 B
C
Raw Normal View History

2023-12-12 17:27:44 +01:00
#include <stdlib.h>
#include <graph.h>
#include <stdio.h>
#include "score_init.h"
2023-12-13 17:00:25 +01:00
short int* score_init(void) {
2023-12-12 17:27:44 +01:00
2023-12-13 17:00:25 +01:00
short int* compteur = NULL;
char a[20];
2023-12-12 17:27:44 +01:00
compteur = malloc(sizeof(short int));
*compteur = 0;
sprintf(a, "%d", *compteur);
2023-12-12 17:27:44 +01:00
EcrireTexte(1250, 600, a, 2);
2023-12-13 17:00:25 +01:00
return compteur;
2023-12-13 17:00:25 +01:00
}
2023-12-12 17:27:44 +01:00