pp

Dependencies:   mbed

Committer:
NamSom
Date:
Sat Dec 05 14:01:16 2015 +0000
Revision:
1:ba7154d2d7ca
Child:
4:a61cdd4e7afa
qqq

Who changed what in which revision?

UserRevisionLine numberNew contents of line
NamSom 1:ba7154d2d7ca 1 #ifndef GAME_H_INCLUDED
NamSom 1:ba7154d2d7ca 2 #define GAME_H_INCLUDED
NamSom 1:ba7154d2d7ca 3
NamSom 1:ba7154d2d7ca 4 class Game
NamSom 1:ba7154d2d7ca 5 {
NamSom 1:ba7154d2d7ca 6 private:
NamSom 1:ba7154d2d7ca 7 int hexRandom[4];
NamSom 1:ba7154d2d7ca 8 bool mybcd[4][4];
NamSom 1:ba7154d2d7ca 9 int n;
NamSom 1:ba7154d2d7ca 10 public:
NamSom 1:ba7154d2d7ca 11 Game();
NamSom 1:ba7154d2d7ca 12 char gethex(int dec);
NamSom 1:ba7154d2d7ca 13 void random();
NamSom 1:ba7154d2d7ca 14 void hextobcd();
NamSom 1:ba7154d2d7ca 15
NamSom 1:ba7154d2d7ca 16 };
NamSom 1:ba7154d2d7ca 17
NamSom 1:ba7154d2d7ca 18
NamSom 1:ba7154d2d7ca 19 #endif // GAME_H_INCLUDED