Ask coding questions

← Back to all posts
Haw can I add visuals?
Winterdude

I want people to play this and click instead of typing everything. Can I get some help?

Voters
Winterdude
Comments
hotnewtop
MrVoo

You can't add buttons in the console, you need to learn HTML, CSS, and JS for that. You can however use the getkey module. It's not a standard module, so you'll have to import it and add it with the packager (cube button). Use getkey like this:

Also, never ask the user if they want to run the program like you did in the beginning. It's annoying

Winterdude

Thanks, I'm a noob so I'm not very good [email protected]

TheDNAHero

@MrVoo or you could use tkinter or turtle or pygame

MrVoo

@TheDNAHero All of those look ugly on replit... don't

TheDNAHero

@MrVoo I guess, but they are using python, so they must be desperate.

Winterdude

@TheDNAHero I'm not desperate, I just didn't know what to use. my teacher told me to use python.

TheDNAHero
Winterdude

@TheDNAHero It's good. We all make some bad assumptions. Take me for example. I keep messing up and calling people the wrong name.