Python Forum
Two Dice Pig Game in Python 3.6 Help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two Dice Pig Game in Python 3.6 Help
#3
(Oct-10-2018, 05:03 AM)nilamo Wrote: Everything inside your while loop is a single round. Everything before the while loop will only happen once. If you want to roll dice in each round, you need to roll dice inside the while loop.

I tried removing everything above the while loop, but it tells me the variables are referenced before assignment.
How would you begin this program?
Reply


Messages In This Thread
RE: Two Dice Pig Game in Python 3.6 Help - by inspired22 - Oct-10-2018, 05:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need some help with Dice Game for daughter in school OptX 2 1,970 Feb-12-2021, 08:43 PM
Last Post: BashBedlam
  regarding dice game hola123 4 2,410 Feb-10-2021, 11:00 PM
Last Post: hola123
  Two dice Game of Pig help elliemehl 2 4,263 Feb-14-2019, 01:19 AM
Last Post: woooee
  help with while loop on dice game sean5 2 4,233 Dec-14-2017, 07:24 PM
Last Post: nilamo
  dice game im stuck sylerr 3 4,459 May-12-2017, 10:50 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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