How to make a small game using python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a small game using python?

15th Dec 2016, 2:58 PM
Rohit Ratnani
Rohit Ratnani - avatar
2 Answers
+ 6
try pygame maybe? I have no experience with it. however if you want to make a text game, heres a guideline. print out a story, ie player is stranded in the woods. Then require a input. ie if player types 1, he stays, or if 2, he wanders the forest. of course, you would print what the options are. Then write what happens if they choose either of those, and continue on and on until all branches of the story game come to a conclusion.
15th Dec 2016, 11:08 PM
Ahri Fox
Ahri Fox - avatar
0
what sort of game?
15th Dec 2016, 5:18 PM
Yunus USLU
Yunus USLU - avatar