Hello guys! Basically I need to know how to make the client receive multiple lines from the server. In my code it only reads the first line.
Server:
public class Server
{
public static...
Type: Posts; User: vess28
Hello guys! Basically I need to know how to make the client receive multiple lines from the server. In my code it only reads the first line.
Server:
public class Server
{
public static...
I found my mistake! I had to declare "choice" before the if statement. The next part of my assignment is to make this client-server but I'm guessing this isn't the right part of the forum for that!...
Oh and by the way, sorry that my code is not very neat and not highlighted, but I'm a beginner to java and the forum!
Ok! So I tried inserting the following if statement:
if (t.getPlayer()==1)
{
String playerMove =...
Hello guys! This is what my code looks like at the moment:
public class TicClass
{
Hello!
I'm not sure this is the right place for this but I need help solving the following problem:
Client-server tic-tac-toe. The task is composed by two programs: client and server. The...