16 lines
427 B
C
16 lines
427 B
C
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <graph.h>
|
||
|
#include <time.h>
|
||
|
#include <unistd.h>
|
||
|
#include "fonction.h"
|
||
|
|
||
|
void Score(){
|
||
|
Nbr=(segment-10)*10;
|
||
|
snprintf(score,4,"%04d0", Nbr);
|
||
|
ChoisirCouleurDessin(CouleurParComposante(0,0,0));
|
||
|
RemplirRectangle(1100,730,1200,800);
|
||
|
ChoisirCouleurDessin(CouleurParComposante(255,255,255));
|
||
|
EcrireTexte(1000,750,"Score :",2);
|
||
|
EcrireTexte(1100,750,score,2);
|
||
|
}
|