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

Stable 8ball #9

Merged
merged 3 commits into from May 20, 2022
Merged

Stable 8ball #9

merged 3 commits into from May 20, 2022

Conversation

flukiluke
Copy link
Contributor

This changes the behaviour of the magic eight ball to always respond to the same question with the same answer, based on a hash of the question text.

Since this behaviour may or may not be actually desirable, feel free to reject this PR.

@olliequ
Copy link
Owner

olliequ commented Apr 25, 2022

This is a really good idea. The only drawback I would see with this is if one day someone asks something like: "Are you feeling good today Kitti?" and she gives an answer, and then the next day they ask the same thing and the exact same answer will be produced. Could get stale. Pros and cons with this one but I think the pros outweight the cons.

@flukiluke
Copy link
Contributor Author

Is it worth incorporating the current date in the hashed value?

@olliequ
Copy link
Owner

olliequ commented Apr 26, 2022

Is it worth incorporating the current date in the hashed value?

Yeah I think so.

@olliequ olliequ merged commit d6d70f1 into olliequ:main May 20, 2022
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.

None yet

2 participants