Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    9
    Views
    1,696

    Re: Freezing on bust (BlackJack)

    Your very welcome.

    Always make sure there is a way out of a loop. The if without an else left a hole in the logic.
  2. Replies
    9
    Views
    1,696

    Re: Freezing on bust (BlackJack)

    Sorry, I have told you how to find the error. What I suggested is exactly what I did to find the error.
    It can take a few minutes but I'm sure you will find it. You should know how to find bugs in...
  3. Replies
    9
    Views
    1,696

    Re: Freezing on bust (BlackJack)

    If you add enough printlns in your code you will get more visual help than you need. It will show you where the loop is and why.

    Add some println statements to see where the execution flow goes...
  4. Replies
    9
    Views
    1,696

    Re: Freezing on bust (BlackJack)

    Add some println statements to see where the execution flow goes and the value of variables as they change. If there is a loop, it will show in the printed output
Results 1 to 4 of 4