Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mian.cpp
- Revision:
- 6:b59bc5e15cf3
- Parent:
- 5:32dbfaf578dd
--- a/mian.cpp Thu May 14 05:21:50 2020 +0000 +++ b/mian.cpp Thu May 14 06:30:39 2020 +0000 @@ -5,7 +5,7 @@ Name: Haoyan Zhang Username: el17h2z Student ID Number: 201199698 -Date: 02/05/2020 +Date: 14/05/2020 */ ///////// pre-processor directives //////// @@ -14,8 +14,8 @@ #include "Gamepad.h" #include "StarcraftEngine.h" -#define BATTLESHIP_HEIGHT 3 -#define BATTLESHIP_WIDTH 6 +#define BATTLESHIP_HEIGHT 6 +#define BATTLESHIP_WIDTH 4 #define LASER_HEIGHT 2 #define LASER_WIDTH 1 #define SWARM_HEIGHT 6