-
Notifications
You must be signed in to change notification settings - Fork 3
User Story 2, Bathula
priyankb edited this page Mar 18, 2017
·
1 revision
As a user, I want a hard computer setting that places its ships randomly and that fires at my ships in a smart and challenging manner.
- Have the ships be placed randomly each time the game has begun.
- Have the firing mechanism be able to guess where the rest of the ship is located once it is hit.
- Verify that the ships are placed at random. To test this we can simply refresh the page and place our ships once again and the computer should place its ships at different locations every time.
- Verify that the computer is able to detect where the next ship coordinate is located. We can test this with the use of the scan function to check the adjacent coordinates. If another coordinate is found the computer will fire on its next turn at that location. If not, then the computer will fire anywhere on the player's board.