Skip to content

lulucca12/game-in-haskell

This branch is 18 commits behind elisehuard/game-in-haskell:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 11, 2015
Oct 5, 2014
Mar 12, 2015
Jan 14, 2015
Jul 31, 2015
Apr 10, 2015
Mar 29, 2015
Feb 24, 2015
Jul 31, 2015
Sep 28, 2014
Jul 24, 2015
Nov 12, 2015

Repository files navigation

Game Programming Haskell

code with https://leanpub.com/gameinhaskell

I recommend using a sandbox. clone the repo, and then

cabal sandbox init
cabal install --only-dependencies
cabal build

Chapter 1

Showing how to set up a window and draw basic shapes:

cabal run shapes-demo

Chapter 2

State in a more traditional way:

cabal run state-demo

State with FRP:

cabal run frp-demo

Chapter 3

Using textures and animations, and viewport:

cabal run animated

Chapter 4

Let's add some music and sounds:

cabal run music

Chapter 5

Shooting (ASDW keys), levels, can increase windowsize, etc

cabal run extended

Chapter 6

Game with testing enabled

cabal run testing

run tests

cabal test

Other options from

cabal run testing -- --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%