
Joshua O'hara 201291390
Dependencies: mbed
Diff: main.cpp
- Revision:
- 36:78efa0e7bd31
- Parent:
- 35:517b56b010df
- Child:
- 37:90a0671d2ba7
--- a/main.cpp Mon May 18 19:26:06 2020 +0000 +++ b/main.cpp Tue May 19 16:24:39 2020 +0000 @@ -18,7 +18,7 @@ #define SHIP_WIDTH 9 #define SHIP_HEIGHT 2 -#define ALIEN_SIZE 4 +#define ALIEN_SIZE 3 #define ROW_SIZE 3 #define COLUMN_SIZE 5 #define COVER_Y 38 @@ -69,7 +69,7 @@ start_menu(); select_difficulty(); - _number_of_aliens = 5*_difficulty; + _number_of_aliens = 5 + 5*_difficulty; draw_game(); wait(1.0f/_fps);