Ive created a snake game with the help of a tutorial and i want to create a pause function for my program however, every other tutorial and website i looked at hasn't really helped, can someone help me figure out how to pause my game?
archiejude04 0
Newbie Poster
Recommended Answers
Jump to PostAlso, when you have multiple exclusive contions you should be using
elif
as inif condition-1: do stuff elif condition-2: do stuff: elif condition-3: do stuff
All 3 Replies
archiejude04 0
Newbie Poster
Reverend Jim 4,780
Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Reverend Jim 4,780
Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
archiejude04
commented:
ahh ok many thanks, just tried this and it works, as for the curly brackets im new to this website so i changed all square brackets to the others +0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.