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

[FEATURE] Validation #30

Closed
Firestone82 opened this issue Jan 28, 2024 · 3 comments
Closed

[FEATURE] Validation #30

Firestone82 opened this issue Jan 28, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Firestone82
Copy link
Member

Firestone82 commented Jan 28, 2024

Request for implementation of part validation algoritms that will do the following.
Source at: ValidationController.java

Validate:

  1. Part must have at least 5 hexes
  2. Part must have at most 50 hexes
  3. Part is maximum 8 hexes wide and 8 hexes tall
  4. All hexes must be connected
@Firestone82 Firestone82 added the enhancement New feature or request label Jan 28, 2024
@Kkobarii
Copy link
Member

Must the part include the starting hex (0,0,0)? It would make the connection validation more streamlined.

@Kkobarii
Copy link
Member

Hexes can't overlap.

@Kkobarii
Copy link
Member

Kkobarii commented Feb 1, 2024

Continuing, the validation documentation will be available here (with output docs here). Add anything I should do, just ping me please.

@Kkobarii Kkobarii pinned this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants