User Guide
User Manual:
Open the PDF directly: View PDF .
Page Count: 17
The BATTLE Game
About Game
This is a command based fighting game. User will have to Sign Up & then start playing game.
User will get following features.
1. Create Characters.
2. Create User Team.
3. Create Opponent Team. (Computer will be playing as opponent).
4. Save Game.
5. Resume Game.
Prerequisites
JRE 1.8 .0_111 or higher version should be installed on your system.
How to Start?
java –jar coding-puzzle.jar
How to Play?
[Enter] Indicates press Enter Key.
Color Indicates User Input.
----------------------------------------------- CASE I :: NEW USER -----------------------------------------------
1. Login
2. Sign Up
Enter your choice
2 [Enter]
# Register #
Enter your Name:
Ashutosh Shimpi [Enter]
Enter username:
Ashutosh [Enter]
Enter password:
Shimpi [Enter]
User Ashutosh Shimpi has been created!
Do you want to add more Users? (Y or N) OR type Q to Quit
N [Enter]
1. Login
2. SignUp
1 [Enter]
Enter username: [if you put wrong username it will ask you to login again. We have kept
username case sensitive]
Ashutosh [Enter]
Enter Password:
Shimpi [Enter]
You have logged in successfully!
Welcome Ashutosh Shimpi :-)
1. Explore Game Entities
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice
1 [Enter]
Explore Weapons in Game. Following are weapons
1. Name: Param
2. Type: Missile
3. StrikeRate: 30
4. Points: 20
1. Name: Blitzball
2. Type: Bomb
3. StrikeRate: 15
4. Points: 10
1. Name: MK 2 Lancer Assault Rifle
2. Type: Rifle
3. StrikeRate: 25
4. Points: 15
1. Name: Gunblade
2. Type: Gun
3. StrikeRate: 10
4. Points: 0
## There are total 2 Stages in a Game ##
1. Explore Game Entities
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice
2 [Enter]
Create your character
Enter character’s Name: [Enter Character name of your choice]
Iron Man [Enter]
Enter character’s Health (0 to 100):
100 [Enter]
Enter characters Species:
Super Hero [Enter]
Character Iron Man has been created!
Do you want to add more Characters? (Y or N)
Y [Enter]
Create your character
Enter character’s Name: [Enter Character name of your choice]
Batman [Enter]
Enter your character’s Health (0 to 100):
100 [Enter]
Enter character’s Species:
Super Hero [Enter]
Character Batman has been created!
Do you want to add more Characters? (Y or N)
N [Enter]
Weapon choice is not available at this stage. Default Weapon is being assigned to Character
Following weapon is being assigned to Character Iron Man
1. Name: Gunblade
2. Type: Gun
3. StrikeRate: 10
4. Points: 0
Weapon choice is not available at this stage. Default Weapon is being assigned to Character
Following weapon is being assigned to Character Batman
1. Name: Gunblade
2. Type: Gun
3. StrikeRate: 10
4. Points: 0
<<<<< Building User Team >>>>>
Create Team. You should have atleast 1 character in a Team.
Enter nice name for Team:
Marvel [Enter]
Select Character which do you want to add in Team
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
Y [Enter]
Character Iron Man has been added to Team Marvel
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
N [Enter]
<<<<< Building Opponent Team >>>>>
Create Team. You should have atleast 1 character in a Team.
Enter nice name for Team:
DC [Enter]
Select Character which do you want to add in Team
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
N [Enter]
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
Y [Enter]
Character Batman has been added to Team DC
Battle is going to get started...
Battle Stage >>> FreedomBattleStage1 <<<
# Its your turn. Select one character from your team #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Enter Name to select your Character [Enter Character name that you want to play with. We
have added only one character in a Team so we have select Iron Man. Name is case
insensitive]
Iro Ma [Enter]
Enter correct name
Enter Name to select your Character
Iron Man [Enter]
# You have selected #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
# Its opponent's turn. opponent has selected #
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Press any key to proceed [After this fight begins & you can see results]
[Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 5
Opponent character Batman's Health damaged by 2
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 95
Team: DC, Name: Batman, Health: 98
--- MENU ---
1. Continue Attack
2. Save
3. Quit
Enter your choice [if you want to continue fighting. Here check for Health]
1 [Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 3
Opponent character Batman's Health damaged by 2
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 92
Team: DC, Name: Batman, Health: 96
--- MENU ---
1. Continue Attack
2. Save
3. Quit
Enter your choice [If you choose to continue then either of the team will win. If you lose then
you will get message]
1 [Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 1
Opponent character Batman's Health damaged by 6
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 0
Team: DC, Name: Batman, Health: 5
<<<<< Final Result >>>>>
Team: Marvel, Name: Iron Man, Health: 0
Team: DC, Name: Batman, Health: 5
Team DC won the battle. Hard Luck. Better luck next time :-)
1. Explore Game
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice
Q [Enter]
Thanks for Playing Battle Game. See you again...
-------------------------------------------------------- END -------------------------------------------------------
------------------------------------- CASE II :: RGISTERED USER -------------------------------------------
1. Login
2. SignUp
1 [Enter]
Enter username:
Ashutosh [Enter]
Enter Password:
Shimpi [Enter]
You have logged in successfully!
Welcome Ashutosh Shimpi :-)
1. Explore Game Entities
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice [Rest of the steps will be as of CASE I]
-------------------------------------------------------- END -------------------------------------------------------
----------------- CASE III :: RGISTERED USER/NEW USER WITH SAVE ------------------------------
1. Login
2. SignUp
Enter username:
Ashutosh [Enter]
Enter Password:
Shimpi [Enter]
You have logged in successfully!
Welcome Ashutosh Shimpi :-)
1. Explore Game Entities
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice
2 [Enter]
Create your character
Enter character’s Name: [Enter Character name of your choice]
Iron Man [Enter]
Enter character’s Health (0 to 100):
100 [Enter]
Enter characters Species:
Super Hero [Enter]
Character Iron Man has been created!
Do you want to add more Characters? (Y or N)
Y [Enter]
Create your character
Enter character’s Name: [Enter Character name of your choice]
Batman [Enter]
Enter your character’s Health (0 to 100):
100 [Enter]
Enter character’s Species:
Super Hero [Enter]
Character Batman has been created!
Do you want to add more Characters? (Y or N)
N [Enter]
Weapon choice is not available at this stage. Default Weapon is being assigned to Character
Following weapon is being assigned to Character Iron Man
1. Name: Gunblade
2. Type: Gun
3. StrikeRate: 10
4. Points: 0
Weapon choice is not available at this stage. Default Weapon is being assigned to Character
Following weapon is being assigned to Character Batman
1. Name: Gunblade
2. Type: Gun
3. StrikeRate: 10
4. Points: 0
<<<<< Building User Team >>>>>
Create Team. You should have atleast 1 character in a Team.
Enter nice name for Team:
Marvel [Enter]
Select Character which do you want to add in Team
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
Y [Enter]
Character Iron Man has been added to Team Marvel
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
N [Enter]
<<<<< Building Opponent Team >>>>>
Create Team. You should have atleast 1 character in a Team.
Enter nice name for Team:
DC [Enter]
Select Character which do you want to add in Team
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
N [Enter]
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Would you like to add this Character in Team? (Y or N)
Y [Enter]
Character Batman has been added to Team DC
Battle is going to get started...
Battle Stage >>> FreedomBattleStage1 <<<
# Its your turn. Select one character from your team #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Enter Name to select your Character
Iron Man [Enter]
# You have selected #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
# Its opponent's turn. opponent has selected #
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 100
4. PointsEarn: 0
Press any key to proceed [After this fight begins & you can see results]
[Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 4
Opponent character Batman's Health damaged by 7
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 96
Team: DC, Name: Batman, Health: 93
--- MENU ---
1. Continue Attack
2. Save
3. Quit
Enter your choice [if you want to continue fighting. Here check for Health]
1 [Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 5
Opponent character Batman's Health damaged by 6
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 91
Team: DC, Name: Batman, Health: 87
--- MENU ---
1. Continue Attack
2. Save
3. Quit
Enter your choice
2 [Enter]
Enter the name for Battle that needs to be saved. You can enter existing name to override.
Avengers [Enter]
Battle has been Saved
Do you want to continue? (Y or N)
N [Enter]
<<<<< Final Result >>>>>
Team: Marvel, Name: Iron Man, Health: 91
Team: DC, Name: Batman, Health: 87
Battle has been suspended!!!
1. Explore Game
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice
3 [Enter]
List of saved games
> Name: Avengers, Saved Date: Wed Jul 18 00:04:49 IST 2018
Enter name to select [If wrong name will be entered it will ask again]
Avengers [Enter]
Battle is going to get started...
Battle Stage >>> FreedomBattleStage1 <<<
# Its your turn. Select one character from your team #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 91
4. PointsEarn: 0
Enter Name to select your Character
Iron Man [Enter]
# You have selected #
Character Info:
1. Name: Iron Man
2. Species: Super Hero
3. Health: 91
4. PointsEarn: 0
# Its opponent's turn. opponent has selected #
Character Info:
1. Name: Batman
2. Species: Super Hero
3. Health: 87
4. PointsEarn: 0
Press any key to proceed
[Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 8
Opponent character Batman's Health damaged by 9
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 83
Team: DC, Name: Batman, Health: 78
--- MENU ---
1. Continue Attack
2. Save
3. Quit
Enter your choice [If you enter 1 then fight will be continued & one team will win. If let’s say
your team wins then result will look like]
1 [Enter]
<<<<< Battle Begins >>>>>
>>>>....>.>><jkjk>>>><<><
User character Iron Man's Health damaged by 1
Opponent character Batman's Health damaged by 7
<<<<< Battle Stops >>>>>
Statistics after battle
Team: Marvel, Name: Iron Man, Health: 16
Team: DC, Name: Batman, Health: 0
<<<<< Final Result >>>>>
Team: Marvel, Name: Iron Man, Health: 16
Team: DC, Name: Batman, Health: 0
Team Marvel won the battle :-). Enjoy the beer !!!
Battle is going to get started...
<<<<< Welcome to FreedomBattleStage2 >>>>>
Enter any key to SKIP
[Enter]
1. Explore Game
2. Start Game
3. Resume Game
Type Quit or Q Exit
Enter your choice [Stage2/Level2 has not been implemented. Start again with Stage1 with
same set of steps.]
Q [Enter]
Thanks for Playing Battle Game. See you again...
-------------------------------------------------------- END -------------------------------------------------------