What does the program do and what do each of the players do?
There is a lot of repetitive code in what you posted that should be reduced to something simpler. Too many lines are repeated with...
Type: Posts; User: Norm
What does the program do and what do each of the players do?
There is a lot of repetitive code in what you posted that should be reduced to something simpler. Too many lines are repeated with...
If you are now getting compiler errors after your change, please post the full text of the error messages.
If you change the definition of the args taken by a method then you need to change the code that calls that method so that the args agree.
The compiler thinks that the line method takes 3 int values.
Is the error message from the posted code? Or do you have another version of the program where the line method has three int args?
Can you describe what the code does now and what is wrong with the way it is working?
Try debugging the code by adding lots of calls to the println() method to print out messages to show the...