Opencraft is a 3D open source sandbox game based on Minecraft. The game is fully written on C++.
The game currently runs on ArchLinux and Ubuntu without problems. A port to other Linux distros is being worked on. The Windows version will have to wait, since threading works differently on Windows.
To build the game you first need the following external libraries:
- GLFW3
- Libnoise
- GLU
In Ubuntu you can install the needed libraries with:
sudo apt install cmake make g++ git # Needed packages
sudo apt install libglfw3-dev libglm-dev libnoise-dev libglu1-mesa-dev # Needed libraries
sudo ln -s /usr/include/libnoise /usr/include/noise # Link noise libIn Archlinux you can run:
sudo pacman -S base-devel cmake git
sudo pacman glfw-x11 # Change for glfw-wayland if you use gnome.
sudo pacman glu libnoise glmYou can download the latest version with:
git clone https://github.com/lonyelon/OpencraftThe enter the folder and compile the game:
cd Opencraft
cmake .
make
chmod +x ./OpencraftLastly, run the game with:
./Opencraft