Essentially your play again input at the very end needs to be dedented twice. It should be inside the first while loop, not the second. After you run out of chips the inner one breaks; then you want to ask the question.

-Mek

Edit: Not sure if this is an assignment or just personal experimentation but the bigger issue here is the stream of consciousness coding. This should be broken up into units that each only do about one thing. I'm not sure if you have learned/been taught functions yet, but using them would help you keep track of things much easier.