Git Product home page Git Product logo

bitbrawl's Introduction

== Build Instructions ==

These instructions have been tested on Ubuntu 12.04, and are not guaranteed on any other platform.

I am using cabal for all Haskell dependencies because some dependencies need to be newer than what is in Ubuntu.  Hopefully, this will change.

=== Install GHC and Cabal ===

	sudo apt-get install ghc cabal-install

=== Install non-Haskell Dependencies ===

	sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-gfx1.2-dev libsdl-ttf2.0-dev

=== Install Haskell Dependencies ===

	cabal update
	cabal install containers SDL SDL-image SDL-ttf SDL-mixer text attoparsec colour StateVar directory filepath random transformers permute data-lens derive
	cabal install Hipmunk

	NOTE: You will need ~/.cabal/bin in PATH for the derive command to be found.

=== Build BitBrawl ===

	make

=== Done ===

There should now be a binary at dist/build/bitbrawl/bitbrawl that you can run to start the game.

NOTE: there is a make install rule in this Makefile, however **it is not verified to work**.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.