Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battleship: Ship rules #19

Open
FlyingWolFox opened this issue Dec 3, 2019 · 0 comments
Open

Battleship: Ship rules #19

FlyingWolFox opened this issue Dec 3, 2019 · 0 comments
Assignees
Labels
Battleship Issue related to Battleship enhancement New feature or request

Comments

@FlyingWolFox
Copy link
Owner

FlyingWolFox commented Dec 3, 2019

New feature
Must work with map parser

  • Ship types and quantity

    • 5 Hydroplanes: (<^>)
    • 4 Submarines (o)
    • 3 Cruiser (<>)
    • 2 Battleship (<==>)
    • 1 Aircraft Carrier (<===>)
  • Must enforce the rules

  • The ships should be at least one square of distance of each other

  • Make rule deactivation easy (in code)

Two choices can be made:

  1. Maintain the actual file formatting, but identify each ship inside of the program
  2. Force a new file formatting, which will give the ships ready

The second is easier in te code, but how the formatting will be done I have no idea
The first appear to be the right choice, making this work with the map parser

@FlyingWolFox FlyingWolFox added enhancement New feature or request Battleship Issue related to Battleship labels Dec 3, 2019
@FlyingWolFox FlyingWolFox self-assigned this Dec 3, 2019
@FlyingWolFox FlyingWolFox added this to the Professor Specs milestone Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Battleship Issue related to Battleship enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant