OSU-CS361-W17 / group14_project1

0 stars 3 forks source link

Artificial Intelligence Firing #6

Open julianweisbord opened 7 years ago

julianweisbord commented 7 years ago

As a user, I would like a primitive AI that will be able to fire on my ships so that we have a fair game.

Conversation: AI will solely operate off of a random number generator. Check if it has already fired in that space and fire somewhere else if true. Check if random number generator is operating within the range of the 10 by 10 board.

Confirmation: Run a unit test to shoot at a ship on the main players board and attempt to sink it. Check expected results for success. Run a test to look through the array of past shots to see if the AI's shots are placed in the array.

julianweisbord commented 7 years ago

Issue: Create AI that places ships that fit entirely on the map Issue: AI must place all ships Issue: AI must place ships on the map Issue: AI must select an orientation for the ship Issue: AI must select valid positions on the map to place ships Issue: Create AI that fires on the map Issue: AI cannot fire at same place twice Issue: AI shoots random locations