Skip to content

Improve Assign Creature Starting Locations #13

@kenfar

Description

@kenfar

This function simply alternates positions of up to 8 critters - in a deterministic fashion.

What it should do:

  • assign side a to coordinates 0,0
  • assign side b to coordinates x_max, y_max
  • assign monsters near the point of their side
  • don't overlap monsters

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions