Skip to content

lonyelon/Opencraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opencraft

Opencraft is a 3D open source sandbox game based on Minecraft. The game is fully written on C++.

Compatibility

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.

Build

To build the game you first need the following external libraries:

  • GLFW3
  • Libnoise
  • GLU

Install dependencies

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 lib

In 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 glm

Download and build the game (distro independent)

You can download the latest version with:

git clone https://github.com/lonyelon/Opencraft

The enter the folder and compile the game:

cd Opencraft
cmake .
make
chmod +x ./Opencraft

Lastly, run the game with:

./Opencraft

About

An open source game based on Minecraft

Resources

License

Stars

Watchers

Forks

Packages

No packages published