DerekCresswell / GameDesign11

A project based intro to game development using the Unity game engine
MIT License
31 stars 12 forks source link

while loop condition in dice game, 6 basic game #30

Closed mrkramerkss closed 4 years ago

mrkramerkss commented 4 years ago

The while loop is written: while(playerOneHealth <=0 || playerTwoHealth <=0) This should read: while(playerOneHealth > 0 && playerTwoHealth >0) as the loop should end when one of the players reaches 0 health. This needs to be updated in all of the screencaptures of the scripts as it is the same throughout.