Update README.md
Added notes for compiling with makefile and for server and client only.
This commit is contained in:
parent
b94ebe26f6
commit
5ce0163f77
1 changed files with 14 additions and 4 deletions
18
README.md
18
README.md
|
@ -1,10 +1,20 @@
|
||||||
# Breakthrough
|
# Breakthrough
|
||||||
Reposity for the second CSCE 315 project
|
Reposity for the second CSCE 315 project
|
||||||
|
|
||||||
compile the server with the folling command:
|
compile test.cpp main by typing:
|
||||||
g++ -std=c++11 -o server Board.cpp Server.cpp
|
make all
|
||||||
|
|
||||||
run:
|
run:
|
||||||
./server [port]
|
./test
|
||||||
|
|
||||||
Client is still WIP.
|
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
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Reference in a new issue