pp
Dependencies: mbed
Game.h@1:ba7154d2d7ca, 2015-12-05 (annotated)
- Committer:
- NamSom
- Date:
- Sat Dec 05 14:01:16 2015 +0000
- Revision:
- 1:ba7154d2d7ca
- Child:
- 4:a61cdd4e7afa
qqq
Who changed what in which revision?
User | Revision | Line number | New 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 |