Skip to content

ryndubei/hypercube-4d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uploaded by popular demand.

Note: I made this in one weekend a year ago, so the code is quite messy.

hypercube-4d

Full-visibility 4D renderer written in Haskell with Gloss. Inspired by the 4D Maze Game: https://www.urticator.net/maze/

Build

Debian/Ubuntu-based Linux distributions:

sudo apt install freeglut3-dev haskell-stack
cd hypercube-4d
stack setup
stack build

Then use stack run to run the program.

Controls

Miscellaneous

  • 'g': Return to starting state
  • 'b': Toggle debug view

Movement

  • 'w','s': forward/backward
  • 'a','d': left/right
  • 'r','f': up/down
  • 'q','e': in/out

Turning

  • 'h','l': left/right
  • 'k','j': up/down
  • 'u','i': in/out

License

GPL-3.0-or-later

About

Winning entry of the 2022 Inf1A FP Competition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published