Skip to content
/ hehcraft Public

A minimal Minecraft clone written in God's language. (forgive me, HolyC)

License

Notifications You must be signed in to change notification settings

setbe/hehcraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortcuts

Tab - toggle cursor

F2 - Fullscreen

F1 - Wireframe mode

Shift - Move down

Space - Move up

WASD - Movement


Motivation

soon

Complete Build Guide


1. Building on Linux

1.1 Cloning the Repository

git clone https://github.com/setbe/hehcraft
cd hehcraft

1.2 Installing Dependencies

Install the necessary libraries for OpenGL, X11, and input handling:

Debian/Ubuntu (APT)

sudo apt-get update
sudo apt-get install libx11-dev libxi-dev libgl1-mesa-dev xorg-dev

Fedora/CentOS/RHEL (YUM or DNF)

sudo dnf install libX11-devel libXi-devel mesa-libGL-devel xorg-x11-server-devel

Arch Linux (Pacman)

sudo pacman -S libx11 libxi mesa xorg-server-devel

1.3 Building the Project

Simply run:

make

This will produce an executable in the project directory.


2. Building on Windows

2.1 Cloning or Unzipping the Repository

Using Git

  1. Download and install Git.
  2. Open Command Prompt (Win+R → cmd) and run:
    git clone https://github.com/setbe/hehcraft
    cd hehcraft

Using Zip

  1. Download the zip file from GitHub and extract.
  2. Open Command Prompt in the extracted folder:
    cd path/to/hehcraft

2.2 Building with Visual Studio

  1. Download and install Visual Studio.
  2. Follow this guide.

2.3 Building the Project

  1. Open the vs folder and then open the solution file hehcraft.sln.

  2. Build the solution (menu BuildBuild Solution).

    This will produce the executable in the project directory.


My Respect

https://github.com/nothings/stb

https://github.com/datenwolf/linmath.h


License

This project is licensed under the GNU General Public License v3.0.

© 2025 setbe. See the LICENSE file for details.

About

A minimal Minecraft clone written in God's language. (forgive me, HolyC)

Resources

License

Stars

Watchers

Forks

Packages

No packages published