15-puzzle icon indicating copy to clipboard operation
15-puzzle copied to clipboard

Add keyboard navigation

Open ovidiubute opened this issue 7 years ago • 0 comments

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...

ovidiubute avatar Mar 05 '17 13:03 ovidiubute