Mini projet LOO

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Home du projet

Committer:
Willheisen
Date:
Wed Apr 06 15:41:24 2016 +0000
Revision:
8:92d0c4961a16
Parent:
7:4b283e36b147
Child:
9:6f3d8b714a59
ajout de la classe cJeu avec les m?thodes initialiser et g?n?ration al?atoire de pi?ce

Who changed what in which revision?

UserRevisionLine numberNew contents of line
clementdoreau 1:ab5f440f4156 1 #include "mbed.h"
Willheisen 8:92d0c4961a16 2 #include "cJeu.h"
clementdoreau 1:ab5f440f4156 3 #include "cMatrice.h"
Willheisen 8:92d0c4961a16 4 #include "cLigne.h"
Willheisen 8:92d0c4961a16 5
Willheisen 4:b7a46af55574 6
clementdoreau 7:4b283e36b147 7 int main() {
clementdoreau 7:4b283e36b147 8
Willheisen 8:92d0c4961a16 9 cJeu jeu;
Willheisen 8:92d0c4961a16 10 jeu.initialiser();
Willheisen 8:92d0c4961a16 11 jeu.nouvellePiece();
Willheisen 8:92d0c4961a16 12 wait(0.5);
Willheisen 8:92d0c4961a16 13 jeu.initialiser();
Willheisen 8:92d0c4961a16 14 jeu.nouvellePiece();
Willheisen 8:92d0c4961a16 15 wait(0.5);
Willheisen 8:92d0c4961a16 16 jeu.initialiser();
Willheisen 8:92d0c4961a16 17 jeu.nouvellePiece();
Willheisen 8:92d0c4961a16 18 wait(0.5);
Willheisen 8:92d0c4961a16 19 jeu.initialiser();
Willheisen 8:92d0c4961a16 20 jeu.nouvellePiece();
clementdoreau 7:4b283e36b147 21 }