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

Predictable Traffic Patterns #87

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RyanGordon
Copy link

This PR adds functionality to allow for creation of traffic patterns with a configurable level of predictability (1 for a constant repeatable traffic pattern)

user.moveTo(105+_.random(40), 0);
user.appearOnFloor(floors[beginningFloor], destinationFloor);
return user;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have a semicolon

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Fixed in 9019773

@magwo
Copy link
Owner

magwo commented Jun 24, 2015

Pretty cool. Just not sure how much communication/documentation is needed to get the player to understand the challenge, or how to implement an algorithm that adapts to traffic patterns. It would feel like cheating to expose an API that reveals the traffic patterns. And currently there is no concept of having the algorithm be trained over several cycles (days). Will have to consider this feature a bit.

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.

3 participants