I’m trying to create a simple text only game, where the user has to write a given key/sequence of keys (for now i was thinking of the arrow keys, even if i could stick with the wasd keys).
Now what i’d like to do is block everything in the keyboard besides the keys, and when the arrow key is pressed the program must write the key symbol.
for example…..
write the following sequence of keys ←↑→↓↑←: [user’s input]
submitted by /u/_K1lla_
[link] [comments]
r/learnpython I’m trying to create a simple text only game, where the user has to write a given key/sequence of keys (for now i was thinking of the arrow keys, even if i could stick with the wasd keys). Now what i’d like to do is block everything in the keyboard besides the keys, and when the arrow key is pressed the program must write the key symbol. for example….. write the following sequence of keys ←↑→↓↑←: [user’s input] submitted by /u/_K1lla_ [link] [comments]
I’m trying to create a simple text only game, where the user has to write a given key/sequence of keys (for now i was thinking of the arrow keys, even if i could stick with the wasd keys).
Now what i’d like to do is block everything in the keyboard besides the keys, and when the arrow key is pressed the program must write the key symbol.
for example…..
write the following sequence of keys ←↑→↓↑←: [user’s input]
submitted by /u/_K1lla_
[link] [comments]