vattam / BSDGames

Text based games from Debian - bsdgames package.
Other
172 stars 46 forks source link

The Tetris Game Keys #4

Open ayyucedemirbas opened 7 years ago

ayyucedemirbas commented 7 years ago

Hello, The Tetris Game uses "j" and "l" keys to move the shapes left and right. I would like to change that with left and right arrow keys. How can I do that?

smeagolthellama commented 7 years ago

according to the man page, you add the -k option. If you are using a linux terminal, you could probably use -k '[^v][left arrow][^v][right arrow]' etc.