-
Notifications
You must be signed in to change notification settings - Fork 1
/
Test Document
48 lines (28 loc) · 2.02 KB
/
Test Document
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
1. Compile and run the GUIversion2 package, GUI.java file to run the gui version.
2. First, you will enter a Menu Scene:
Click the "INFO" button to check the information of this game.
Click the "START" button to enter the MapChooseScene.
3. On the ChooseMapScene, you can choose one of the three maps.
------------------------------------------------------------------
YOU < CAN NOT > GO BACK TO THE CHOOSE MAP ONCE YOU CHOOSE A MAP!
If you wants to play other maps, you need to close the porgram,
compile it and run it again.
------------------------------------------------------------------
4. Once you enter one map, you can check information of the enemies and towers through the right hand side "INFO" button.
5. The game tasks is to prevent the bugs reach your picnic.
6. The dirtland grids are the roads, and the grassland grids are the place you can place towers.
7. A window will pop-up if you click on one of the grassland grid,you can choose three types of towers to place, the fourth button is the button to delete the tower on the map.
8. Right hand side blocks are info blocks.
The first block contains the INFO button,
The second block contains the Round Counter,
The third block contains the gold counter, you need gold to build a tower, and you can gain gold by kill the bugs,
The fourth block is a counter that counts how many bugs you have killed.
The last bolck is the HP counter for the player, if your HP goes to zero, you will lose.
9. Click on the top left coner to start a round.
You can have as many rounds as you wish.
----------------------------------------------
Compile and run the TextGameLogic.java file inside the textBasedVersion package.
The step to step instruction of the game play is in the text version of the game.
----------------------------------------------
The JUnit Test is javadoced, You can check what does the tests do in the javadoc of the EnemyMapJUNIT.java, which is is the package "enemyManager".
To run the JUnit Test, run EnemyMapJUNIT.java as JUnit Test, which is is the package "enemyManager"