Skip to content

jukajunior/Craft

 
 

Repository files navigation

Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).

Features

  • World changes persisted in a sqlite3 database.
  • Simple but nice looking terrain generation using perlin / simplex noise.
  • Nine types of blocks, but more can be added easily.
  • Supports plants (grass, flowers, etc.) and transparency (glass).
  • Simple clouds in the sky (they don't move).
  • Shadow mapping for nice looking shadows (on the shadow branch).

How to Run

  • Download and install CMake if you don't already have it.
  • Download GLFW and unzip into a relative directory named "glfw"
  • Download sqlite3 and unzip into a relative directory named "sqlite"

Then, run the following commands in your terminal.

cmake .
make
./craft

Screenshot

About

A simple Minecraft clone written in C using modern OpenGL (shaders).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published