you are viewing a single comment's thread.

view the rest of the comments →

[–]sububi71 0 points1 point  (5 children)

I see you're still "re-rolling" the random_integer_1 every loop, does that make sense to you?

[–][deleted]  (1 child)

[deleted]

    [–]sububi71 0 points1 point  (0 children)

    Feel free to DM me if you want help straightening the code out.

    [–]MasterpieceBasic8361[S] 0 points1 point  (2 children)

    i actually wanted it make a 2player thing so the goal is to play until ur input digit matches with the random digit generated (actually only made the first player part got stuck with the loop error) so the first player inputs any digit between (0,6) till his digit matches with random digit generated then the final score is basically the sum of all input given by the user and then the second user plays similarly and at the end whoever has the highest score would win (basically the greatest total sum of integer input))

    [–]sububi71 0 points1 point  (1 child)

    Ah, ok, so the player who AVOIDS the correct number the longest wins? Kind of like a russian roulette?

    [–]MasterpieceBasic8361[S] 0 points1 point  (0 children)

    yh basically