Oct-10-2018, 05:12 AM
The error is there to help. If it's referenced before you define it, then you can either define it before you use it, or you can stop using it.
In this case, it's because you're setting
In this case, it's because you're setting
Player1 = p1dice+p1dice2
. Since you haven't rolled any dice yet, that doesn't make sense. Both player's starting scores should probably be zero.