Skip to content

Conversation

burck1
Copy link
Contributor

@burck1 burck1 commented Jan 16, 2017

  1. Moved addNeighbors() into draw loop since only the neighbors along the path need to be calculated
  2. Changed Spot.neighbors (now Spot.getNeighbors()) to store only non-wall neighbors
  3. Added functions for timing and profiling the code
  4. Refactored draw() loop into multiple smaller functions
  5. Added functionality for optionally preventing the path from passing through the corners of walls

@burck1 burck1 mentioned this pull request Jan 16, 2017
@shiffman
Copy link
Member

Oops, there are some conflicts now that I've merged #2.

@burck1
Copy link
Contributor Author

burck1 commented Jan 17, 2017

@shiffman Fixed merge conflicts

@shiffman shiffman merged commit 6adaf5c into CodingTrain:master Jan 17, 2017
@shiffman
Copy link
Member

Awesome stuff!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants