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
|
||||
Reposity for the second CSCE 315 project
|
||||
|
||||
compile test.cpp main by typing:
|
||||
make all
|
||||
To compile everything:
|
||||
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:
|
||||
./test
|
||||
To launch the server:
|
||||
./runner
|
||||
|
||||
Will make separate commands for server/client in the future, for now:
|
||||
g++ -std=c++11 -o server server.cpp Board.cpp Engine.cpp Piece.cpp
|
||||
Enter a port number when prompted, then the server is launched and waiting for a client to join.
|
||||
|
||||
to compile the server, then:
|
||||
./server
|
||||
|
||||
Client is still WIP, test by compiling with:
|
||||
g++ -std=c++11 -o client client.cpp Board.cpp Engine.cpp Piece.cpp
|
||||
|
||||
run:
|
||||
./client
|
||||
Client can simply join via telnet:
|
||||
telnet linux.cse.tamu.edu <port number>
|
||||
|
|
Reference in a new issue