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

Add keyboard navigation #8

Open
ovidiubute opened this issue Mar 5, 2017 · 0 comments
Open

Add keyboard navigation #8

ovidiubute opened this issue Mar 5, 2017 · 0 comments

Comments

@ovidiubute
Copy link
Member

ovidiubute commented Mar 5, 2017

I'm thinking the arrow keys and wasd should be used.

How I see it:

  • at any moment, you have two or three tiles that can move, depending on the grid
  • the keypress should determine which tile moves, if a tile that can move to the direction indicated by the key exists, then it should move, otherwise, move the next tile

Still wondering if there are more edge cases here...

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

1 participant