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
#2
Hello, thanks for sharing your code!
I just moved the thread to "Completed Scripts/Snippets" subforum, since it is the appropriate place for this kind of thread.
I see a potential for bugs in lines, such as.
if (player1 and player2) == 911:
if (player1 or player2) > 10:
I don't think those conditions do what you want - see if this thread can be useful.
Also as you may notice the Python code tags highlighted the "round" variable. That's because "round" is already used in Python (a function for rounding numbers). It is a good idea to not use reserved and already used keywords in Python, so you'd be better off by changing the variable name (e.g. game_round or whatever).
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 j.crater - Jan-21-2019, 11:11 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,505 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