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

Press up or down arrows to select previous/next word #25

Open
CosmicBara opened this issue Jan 29, 2020 · 4 comments
Open

Press up or down arrows to select previous/next word #25

CosmicBara opened this issue Jan 29, 2020 · 4 comments

Comments

@CosmicBara
Copy link

Sometimes when guessing a word, I just want to make 1 letter adjustments to words I've already guessed. It would be nice if I could press up or down to select the previous closest or next closest word, respectively, and put that word in the input box.

Imagine the CMD prompt or Powershell or pretty much any terminal interface, and you've got the idea.

@sarahkadar
Copy link

This is not a dunk on you but that kind of feels like not within the spirit of the game?

@CosmicBara
Copy link
Author

@KTamas Is it? I guess I'm just thinking of ways to improve the user experience. I found myself pressing up/down to select previous words almost naturally, so it felt like a good extension to the base game.

@hryanjones
Copy link
Owner

What do you think about this behavior: if there's common starting letters shared by the top and bottom words, then the input box will put those letters into the input, but selected. The idea is mainly to help folks who are a bit new to the game, but the selection would be so that if someone is typing quickly it would simply get replaced as they're typing.

For example let's say the word is before 'corn' and after 'cork', then 'cor' would show up as highlighted in the input box.

Also, I wouldn't be opposed to the up/down arrow idea, so if someone wanted to send a PR on that, that'd be cool.

@CosmicBara
Copy link
Author

CosmicBara commented Feb 5, 2020

@hryanjones For your suggestion, I assume it would kick in once the word prior and after match at least 1 character, correct? So an example:

bad
_____ -> nothing would be input
dead
bad
b____ -> b matches both "bad" and "brain", so it gets auto-filled
brain
bad
ba____ -> ba now matches both words, so gets auto-filled
baron 

I like this idea, and it would definitely save some time!

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

No branches or pull requests

3 participants