July 20th, 2004, 05:44 PM
is there a way to make buttons in idle? So that instead of typing yes or no you could just click? Im making a text adventure game and i need help.
July 21st, 2004, 03:39 AM
Not in IDLE no, but you could do this using the curses module, bepening on which platform you are working on. You may have some problems if your on windows since the windows port is highly unstable.
If you're going to do a text based game, you should really look at CGI and web development. Then you end up with something similar to the D&D adventure books.
July 21st, 2004, 03:47 AM
IDLE is the gui editor for python using Tkinter widgets. You can write Tkinter applications that have buttons but in the case of a text adventure it would be a GUI application with a text box controlled by GUI buttons. This of course would only run on a GUI platform like X or Windows.