Skip to content
This repository

A 3D, LAN FPS game of hamster balls flying around and shooting lasers written in Haskell

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 paper
Octocat-spinner-32 references
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 tga
Octocat-spinner-32 unused
Octocat-spinner-32 .ghci
Octocat-spinner-32 .gitignore
Octocat-spinner-32 HamsterBalls.cabal
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Setup.lhs
Octocat-spinner-32 TODO
Octocat-spinner-32 makefile
Octocat-spinner-32 tags
README
Installation instruction
========================

1. Download source code:
    git clone git://github.com/harleyttd/hamball.git
    cd hamball
2a. (Preferred) Use cabal.
    cabal install
2b. (Only if you're too lazy to use cabal and are advanterous -- you may need to manually install additional dependencies)
    make

Instroduction
=============

v0.1 of this game was written in Haskell, in Spring 2009, by:
Harley Trung
David Costanzo
Alexander Thompson
Matthew Sills

v0.2 was released and is currently maintained by Harley Trung.  Please send a github message if you have any question/comment/suggestion.

DEPENDENCIES
============
Yampa (v0.1 used YampaMod, our customized version of Yampa, but v0.2 now uses the original Yampa)
OpenGL-2.2.2.0 (OpenGL-2.4.0.1 will break because they define their own GLfloat data type)
GLFW
HTTP

ISSUES
======

Currently this breaks with OpenGL-2.4.0.1 because they define GLfloat as a newtype instead of Float like before. I haven't looked much into fixing this.  Maybe in the future or if you already have an idea, please let me know (github message!)

Cabal dependencies should take care of this, but otherwise juse:
    cabal install OpenGL-2.2.2.0

If you get -lXrandr or -lGLU error, make sure you have libxrandr-dev and libghc-opengl-dev installed.
Eg. For Ubuntu:
    sudo apt-get install libxrandr-dev libghc6-opengl-dev

Something went wrong with that request. Please try again.