Classic Battle Ship Game using TDD
Game Status
To start the game please select the coordinates and click Start Game
Human Player
A
B
C
D
E
F
G
H
I
J
0
1
2
3
4
5
6
7
8
9
Ship A Start Coordinates:
A,0
A,1
A,2
A,3
A,4
A,5
A,6
A,7
A,8
Ship A Length:
1
2
3
4
Ship B Start Coordinates:
B,0
B,1
B,2
B,3
B,4
B,5
B,6
B,7
B,8
Ship B Length:
1
2
3
4
Ship C Start Coordinates:
C,0
C,1
C,2
C,3
C,4
C,5
C,6
C,7
C,8
Ship C Length:
1
2
3
4
Ship D Start Coordinates:
D,0
D,1
D,2
D,3
D,4
D,5
D,6
D,7
D,8
Ship D Length:
1
2
3
4
Ship E Start Coordinates:
E,0
E,1
E,2
E,3
E,4
E,5
E,6
E,7
E,8
Ship E Length:
1
2
3
4
Ship F Start Coordinates:
F,0
F,1
F,2
F,3
F,4
F,5
F,6
F,7
F,8
Ship F Length:
1
2
3
4
Ship G Start Coordinates:
G,0
G,1
G,2
G,3
G,4
G,5
G,6
G,7
G,8
Ship G Length:
1
2
3
4
Ship H Start Coordinates:
H,0
H,1
H,2
H,3
H,4
H,5
H,6
H,7
H,8
Ship H Length:
1
2
3
4
Ship I Start Coordinates:
I,0
I,1
I,2
I,3
I,4
I,5
I,6
I,7
I,8
Ship I Length:
1
2
3
4
Ship J Start Coordinates:
J,0
J,1
J,2
J,3
J,4
J,5
J,6
J,7
J,8
Ship J Length:
1
2
3
4
Start Game
Reset Game
Software/Ai Player
A
B
C
D
E
F
G
H
I
J
0
1
2
3
4
5
6
7
8
9
Game Instructions
Game can only have 10 ships named from A to J
Either you can let the computer randomly select the ship coordinates or you can place them manually
If you are feeling lazy to place the ships, just click the start button and you can start the game with randomly placed ships
Please note after game is started you cannot change the ships placement, you will have to start a new game
You can change the ship placement by entering X coordinates (Y Coordinates are already entered)
After you are satisfied with ship placement click start
Your opponent will be the Computer/Ai and it will have it's own Gameboard
You will not be able to see the Computer/Ai placement of ships
Information for Software Developers
Source code is hosted on Github :
Click here to Visit
This game is developed under Open Source licenses and if you wish to know how to setup the development environment please go to the above mentioned GitHub and read the Readme.md