Inspired by the great John Carmack!
Game Client is implemented in C and Game Server is implemented in C++.
-
Open a terminal and navigate to the
serverdirectory. -
Run the following command to compile the game server:
makeThis will generate the
game_serverexecutable. -
Open another terminal and navigate to the main directory.
-
Run the following command to compile the game client:
makeThis will generate the
blek_3dexecutable. -
In the terminal where you compiled the server, start the game server by running:
./game_server -
In the terminal where you compiled the client, start the game client by running:
./blek_3d
By following these steps, you will have the game server running in one terminal and the game client running in another terminal, allowing you to start the game.
The only external dependency required to run this game is SDL2. You can find the installation instructions for SDL2 at the following link: