Wouldn't math.round() be a better choice for the youHit variable since it would round to 0 if <.5 and up to 1 if >=.5, causing a random pattern of 1's and ...
確定! 回上一頁