Updated the readme to work with current build
This commit is contained in:
parent
c4aaa39cf6
commit
3491169930
1 changed files with 9 additions and 14 deletions
23
README.md
23
README.md
|
@ -1,20 +1,15 @@
|
||||||
# Breakthrough
|
# Breakthrough
|
||||||
Reposity for the second CSCE 315 project
|
Reposity for the second CSCE 315 project
|
||||||
|
|
||||||
compile test.cpp main by typing:
|
To compile everything:
|
||||||
make all
|
g++ -std=c++11 test.cpp Engine.cpp Board.cpp Piece.cpp -o runner
|
||||||
|
or, alternatively if you delete the Parser.h and Parser.cpp (there's no need for them)
|
||||||
|
g++ -std=c++11 *.cpp -o runner
|
||||||
|
|
||||||
run:
|
To launch the server:
|
||||||
./test
|
./runner
|
||||||
|
|
||||||
Will make separate commands for server/client in the future, for now:
|
Enter a port number when prompted, then the server is launched and waiting for a client to join.
|
||||||
g++ -std=c++11 -o server server.cpp Board.cpp Engine.cpp Piece.cpp
|
|
||||||
|
|
||||||
to compile the server, then:
|
Client can simply join via telnet:
|
||||||
./server
|
telnet linux.cse.tamu.edu <port number>
|
||||||
|
|
||||||
Client is still WIP, test by compiling with:
|
|
||||||
g++ -std=c++11 -o client client.cpp Board.cpp Engine.cpp Piece.cpp
|
|
||||||
|
|
||||||
run:
|
|
||||||
./client
|
|
||||||
|
|
Reference in a new issue