Skip to content
Sign upLog in
← Back to Community
how to make a game
Profile icon
WDGhaster

Hey guys! This is my first tutorial so bare with me. First you will want to define your variables, if you descide to go back and change / add some that is ok too, but really make sure you dont get undefined errors!

Next print something explaining the player's situation and put an input for however they answer.
Do this multiple times

Put if else statements for what their choices are and if its chose your own adventure make somewhere around 3 huge nests (layered if else statements, for example
if placeholder == 'True':
if placeholder2 == 'XtraTrue':
if placeholder 3 == 'memes':)
print('You have been nested')
nesting is like inception and it makes player choices feel like they do something.

Finally add some kind of combat or puzzles.

You have a basic game!

Voters
Profile icon
LKP1
Profile icon
WDGhaster