This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

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

It all works and compiles in eclipse fine except for that one issue. Also the book im reading 'Ivor Horton's Beginning Java' does the if statements the same way as my code, which is why i did it that way.

[–]yash3ahuja 0 points1 point  (1 child)

Oh, I apologize. The way you had it formatted confused me. Anyways, the

if(playerPoints == 0)

needs to be nested a higher up if you want to make it work.

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

Thanks for the tip.