Update README.md
This commit is contained in:
parent
0a6b7a7c7d
commit
f2bd635de8
1 changed files with 10 additions and 7 deletions
17
README.md
17
README.md
|
@ -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>
|
||||||
|
|
Reference in a new issue