Skip to content
Help using getch
Profile icon
Trex10

Hello,
In this program I'm trying to make a letter run around the screen using WASD, is there any built in getch(or python/any other module) function that can help me with this? If not, can you show me how to do this since I'm having some difficulties with the letter jumping two spaces and only backing up once.

You are viewing a single comment. View All
Profile icon
Coder100

I would recommend using curses for this. Not only does it have getch 'built-in' (getch was actually inspired curses), you can set it on the y and x
https://docs.python.org/3/library/curses.html

Profile icon
Trex10

@Coder100

hmmmm, I'm confused, which thing would let me move the letter easier?

Profile icon
Coder100