# game-in-haskell **Repository Path**: mirrors_andyglick/game-in-haskell ## Basic Information - **Project Name**: game-in-haskell - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Game Programming Haskell code with [https://leanpub.com/gameinhaskell](https://leanpub.com/gameinhaskell) ## Contributors * Elise Huard * Tran Quoc-Anh (upgrade 2018) ## Usage 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