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

Push blueprint to gist #29

Open
matt-dray opened this issue Oct 4, 2022 · 2 comments
Open

Push blueprint to gist #29

matt-dray opened this issue Oct 4, 2022 · 2 comments
Labels
backend 🍑 Things not shown to the user, supports the stuff they can interact with feature ✨ New feature or request frontend 👀 Things that are shown to the user, that they can interact with on ice 🧊 Probably not going to work on this anytime soon

Comments

@matt-dray
Copy link
Owner

Reincorporate ability to push to a GitHub gist (as per v0.0.0.9000) to back-up/preserve a blueprint, possibly to allow for battling against other's pets, as per #8.

@matt-dray matt-dray added feature ✨ New feature or request frontend 👀 Things that are shown to the user, that they can interact with backend 🍑 Things not shown to the user, supports the stuff they can interact with labels Oct 4, 2022
@mattkerlogue
Copy link

possibly to allow for battling against other's pets

You could add a level of rudimentary obfuscation by using some sort of a hashing function, using the pet's name and/or the user's GitHub username as the encryption/decryption key. That way people don't know in advance the capabilities of the other pet(s).

@mattkerlogue mattkerlogue mentioned this issue Oct 8, 2022
@matt-dray
Copy link
Owner Author

matt-dray commented Oct 9, 2022

@mattkerlogue: Bingo, you're right, hashing is for sure on the cards. I don't want to waste any effort into making the blueprints truly uneditable (this package is for larks, after all), but I'd like to obscure them and not expose all the values that appear in the blueprint versus what appears when you print with get_stats() (it's possible I'll be adding some more 'hidden' variables like a randomised 'individual value' that may affect XP collection and other things, or a secret HP counter, or a counter that increments each time hunger reaches 5 or happiness reaches 0).

@matt-dray matt-dray added the on ice 🧊 Probably not going to work on this anytime soon label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend 🍑 Things not shown to the user, supports the stuff they can interact with feature ✨ New feature or request frontend 👀 Things that are shown to the user, that they can interact with on ice 🧊 Probably not going to work on this anytime soon
Projects
None yet
Development

No branches or pull requests

2 participants