Skip to content
This repository has been archived by the owner on Feb 7, 2021. It is now read-only.

Adding Risk Avoidance #5

Merged
merged 5 commits into from Mar 2, 2019
Merged

Adding Risk Avoidance #5

merged 5 commits into from Mar 2, 2019

Conversation

MykalMachon
Copy link
Owner

The snake will now avoid risky move unless the snake is larger than the snake that is making it risky, if it is larger it will attempt to cut the other snakes off

+ Cleaning up some messy code.
+ added a findSnakeLength function that will return the length of the snake at a given position.
@MykalMachon MykalMachon merged commit 718dd41 into master Mar 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant