Python Forum
please help me improve this minigame
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
please help me improve this minigame
#5
(Jan-21-2019, 11:40 AM)j.crater Wrote: No problem about misplacing thread :) I might have misunderstood your intention and the code is indeed doing exactly what you wanted. You can try this:
 player1 = 3 player2 = 911 if (player1 and player2) == 911: print("it's true!") 
or this.
 player1 = 3 player2 = 30 if (player1 or player2) > 10: print("it's true!") 
And if it sparks interest I can explain further :D
OOOPS , well i didn't give much attention to if i want to make one player type 911 and break or both to break the code but for the sake of learning i am interested(if you don't mind)
Thank you!
Reply


Messages In This Thread
please help me improve this minigame - by Naito - Jan-21-2019, 10:31 AM
RE: please help me improve this minigame - by Naito - Jan-21-2019, 11:28 AM
RE: please help me improve this minigame - by Naito - Jan-21-2019, 11:47 AM
RE: please help me improve this minigame - by Naito - Jan-21-2019, 03:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Minigame Collection with Menu textmonster404 1 3,551 Feb-20-2017, 02:11 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020