From 6b0eccd81ab327dcf519af887ad966c4346d458c Mon Sep 17 00:00:00 2001 From: Alex Huddleston Date: Thu, 29 Oct 2015 22:32:08 -0500 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6398821..da6d757 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,28 @@ # Breakthrough Reposity for the second CSCE 315 project -To compile everything: +# To compile everything: make or make all -To run test: +# To run test: ./test -To launch the server: -./server [port #] +# To launch the server: + ./server [port #] -Client can simply join via telnet: - telnet linux.cse.tamu.edu +Java Client is now functional with GUI. + +# To compile the client: + javac Client.java + +# To run: + java Client [server address] [port #] + Where [server address] is linux.cs.tamu.edu (or whatever server you're on) and [port #] is the same as server's [port #]. + +# Troubleshooting: +- Make sure you enable X11 forwarding in your PuTTY settings before you start your connection to the linux server. +- Make sure you also open XLaunch and just click next until finish so that PuTTY doesn't whine about not having a server to start up the client with. +- The GUI takes two moves at a time, to play click the square with the piece you want to move, then the square you want to move it to. Remember there is very minimal error checking on the GUI side, so if you make an incorrect move, the server will just yell at you and the client will continue like nothing happened. I left in some Debugging output on both the Client and Server side so you guys can tell where you messed up. Let me know if you experience any bugs. +- The game will not automatically close on Game Over, you will have to close the window yourself, but that's not exactly a bug, so I'm just going to leave it in. +- Be patient. Swing is very slow and it'll take a second or two for it to initialize the window and a couple seconds to render the icons each time you make a move (depending on if you're using a VPN or not, runs smoothly on campus).