Skip to content

noughtmare/hypercube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jaro Reinders
Jun 16, 2024
aa9d23c · Jun 16, 2024

History

43 Commits
Aug 20, 2017
Oct 18, 2017
Jun 16, 2024
May 15, 2017
Apr 12, 2017
Jun 16, 2024
Apr 12, 2017
May 15, 2017
Oct 18, 2017
Jun 16, 2024
Jun 16, 2024
Oct 18, 2017

Repository files navigation

This program is not very efficient yet, I've been sucked into voxel engine optimizations and I have yet to find the time to play around with different kind of implementations. Also I wrote this code quite a while ago and I wouldn't consider it very idiomatic, but it is a working example of how to use OpenGL in Haskell.

hypercube

Minecraft clone in haskell focussed on performance.

downloading

$ git clone https://github.com/noughtmare/hypercube.git
$ cd hypercube

building

Make sure you have the right system dependencies, they are listed in shell.nix.

Build with cabal:

$ cabal build

running

$ cabal run

controls

W     - move forward
A     - move to the left
S     - move backward
D     - move to the right
SHIFT - move down
SPACE - move up
CTRL  - speed up
R     - toggle mouse cursor
ESC   - quit game

screenshots

hourglass pit sinefield