IMPORTANT: The game is configured to be purely locally hosted by default. To change this, edit config.h first and set NO_FRIENDS
to false. Then, change IP_ADDRESS
to the public IP of the computer hosting the server, IP_ADDRESS_LOCAL
to the local IP of the hosting computer and, PORT
to the port number to be used for client-server communications.
Navigate to the root directory and run the Makefile with make
. Start the server with ./server
and the client with ./client
.
To change the public IP address the server is hosted on, edit IP_ADDRESS
in config.h.
To change the local IP address the server listens on, edit IP_ADDRESS_LOCAL
in config.h.
Linux and OSX 10.15 or above
make
fails to build olcPixelGameEngine for some reason, reference the olcPixelGameEngine documentation below.Information
Compilation on Linux
Compilation on Windows
- Click to move
- Enter to type and send messages
- Quit with esc