3D puzzle game written in Haskell with Yampa/GLUT
Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Config.hs
Graphics.hs
Input.hs
LICENSE
Main.hs
README
Setup.hs
Types.hs
Update.hs
Utils.hs
cuboid.cabal

README

Cuboid!

A simple 3D haskell game written using Yampa and GLUT.

The game is cabalized, so to build:
1. Make sure you have the dependencies installed: Yampa and glut
2. cabal configure
3. cabal build

Then, you can find the game binary in the dist folder.

The objective of the game is to get the red sphere to the green
sphere, by moving the red sphere.

Use the W and D keys to rotate the cube, and the arrow keys
(up/down/left/right), to move the red ball (front/back/left/right
respectively).  The red sphere will then move until it hits an
obstacle (green cube) and then stops.

In order to add levels check out Config.hs. If you come up with a
great level do send it to me.

Hope this helps people get into Yampa and FRP for game development,
as it's quite fun!

Pedro