How to make games that use graphic instead of text?


Hi I was wondering if anyone could answer my question, how would I go about making a game with graphics in python instead of text based games.
I’m only new though so if it involves another programming language then I’m probably can’t do it yet.

Asked By: Greta



I would recommend using the tkinter library. You can makes games with graphics instead of text. One example would be here. And it is just Python 🙂

Answered By: whackamadoodle3000

Use tkinter module inside of python. To do this simply add from tkinter import * at the start of your program and open a window and use a mainloop to close it at the end. You can research how to use tkinter online on various different websites. I would suggest effbot as it’s very useful for tkinter basics.

Answered By: ZFP
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.