We want to build a MVP of a battleships grid. If you have not played battleships here is an example http://en.battleship-game.org/
The application should have 3 routes.
- A home page where i can choose to either enter:
placement test
route, ortest game
route.
Placement test route
- When i enter the
placement test
route it should automatically place the Ships. - There should be a button to shuffle the ships.
Test game route
- When i enter the
test game
route it should automatically place the Ships. - The placement of the ships should be hidden.
- When i click the one of the cells it should show what is underneath.
- There should be a button to reset and reshuffle the board.
Ship placement and grid details
- 10x10 grid
- 6 ships of random size between 2 and 5
- 3 should be vertically oriented and 3 should be horizontally oriented.
You should have tests.
The only requirement is to use ember octane.
While creating your MVP please take into consideration, that this some future features we would like to add.
- We want to define specialised ships for example a submarine, it's attributes would be it's display size and orientation.
- We would want to be able to modify the grid size.
- A user should be able to select a ship and place it on the map, and they should be able to pick it up and drag it to another location.
- Eventually we want to make it multiplayer
- The end state of the game would be when you have destroyed all of your opponents ships
hi Sebestian