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

Improve text to heartfuck #28

Open
ricardovogel opened this issue Jan 26, 2019 · 0 comments
Open

Improve text to heartfuck #28

ricardovogel opened this issue Jan 26, 2019 · 0 comments
Labels
enhancement Change to existing functionality

Comments

@ricardovogel
Copy link
Member

Problem
The text to heartfuck converter is not very efficient, it should use less characters.

Possible solution
It should use a smart system to check if it can get to a character more easily.

Additional context
For example, the generated code for "ab" is:

💗💖💖💖💖💖💖💖💖💖💛💗💖💖💖💖💖💖💖💖💖💖💜❤️💙💗💖💖💖💖💖💖💖💌💗💖💖💖💖💖💖💖💖💖💛💗💖💖💖💖💖💖💖💖💖💖💜❤️💙💗💖💖💖💖💖💖💖💖💌

This could become something like:

💗💖💖💖💖💖💖💖💖💖💛💗💖💖💖💖💖💖💖💖💖💖💜❤️💙💗💖💖💖💖💖💖💖💌💖💌

@ricardovogel ricardovogel added the feature New feature label Jan 26, 2019
@ricardovogel ricardovogel added enhancement Change to existing functionality and removed feature New feature labels Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Change to existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant