Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noughtmare/hypercube
Minecraft clone in haskell focussed on performance.
https://github.com/noughtmare/hypercube
game haskell minecraft-clone opengl voxel
Last synced: 23 days ago
JSON representation
Minecraft clone in haskell focussed on performance.
- Host: GitHub
- URL: https://github.com/noughtmare/hypercube
- Owner: noughtmare
- License: gpl-3.0
- Created: 2017-04-12T15:49:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T10:26:19.000Z (5 months ago)
- Last Synced: 2024-06-16T11:38:05.521Z (5 months ago)
- Topics: game, haskell, minecraft-clone, opengl, voxel
- Language: Haskell
- Size: 1.5 MB
- Stars: 18
- Watchers: 7
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**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
```shell
$ 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:
```shell
$ cabal build
```## running
```shell
$ 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](./screenshots/hypercube-hourglass.png)
![pit](./screenshots/hypercube-pit.png)
![sinefield](./screenshots/hypercube-sinefield.png)