]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - README.md
ZLib compression
[dragonblocks_alpha.git] / README.md
1 # Dragonblocks alpha
2
3 A multiplayer voxelgame for POSIX systems.
4
5 ## Usage
6
7 ```bash
8 ./DragonblocksServer <port>
9 ./Dragonblocks <address> <port>
10 ```
11
12 or alternatively:
13
14 ```bash
15 ./singleplayer.sh
16 ```
17
18 The server will save the map to a file named "map" in the directory it is run in. It will also load the map from there at startup, given that the file exists.
19
20 Interrupt handlers for SIGINT und SIGTERM are implemented.
21
22 ## Controls
23
24 Use W, A, S and D to move forward / left / backward / right.
25
26 ## Dependencies
27
28 The client depends on GLFW3, OpenGL and GLEW.
29
30 ```bash
31 sudo apt install libgl1-mesa-dri libglfw3 libglew2.1
32 ```
33
34 The server depends on SQLite3.
35
36 ```bash
37 sudo apt install libsqlite3-0
38 ```
39
40 both the client and the server depend on ZLib.
41
42 ```bash
43 sudo apt install zlib1g
44 ```