Update README.md

This commit is contained in:
Alex Huddleston 2015-10-27 22:39:40 -05:00
parent 0a6b7a7c7d
commit f2bd635de8

View file

@ -1,15 +1,18 @@
# Breakthrough # Breakthrough
Reposity for the second CSCE 315 project Reposity for the second CSCE 315 project
To compile everything: To compile test:
g++ -std=c++11 test.cpp Engine.cpp Board.cpp Piece.cpp -o runner make
or, alternatively if you delete the Parser.h, Parser.cpp, and Client.cpp (there's no need for them currently) or make all
g++ -std=c++11 *.cpp -o runner
To run test:
./test
To compile server:
g++ -std=c++11 server.cpp Engine.cpp Board.cpp Piece.cpp -o runner
To launch the server: To launch the server:
./runner ./runner [port #]
Enter a port number when prompted, then the server is launched and waiting for a client to join.
Client can simply join via telnet: Client can simply join via telnet:
telnet linux.cse.tamu.edu <port number> telnet linux.cse.tamu.edu <port number>