click-clack (empty) → 1.0
raw patch · 4 files changed
+35/−0 lines, 4 filesdep +GLFWdep +Hipmunkdep +MonadRandomsetup-changed
Dependencies added: GLFW, Hipmunk, MonadRandom, OpenGL, StateVar, base, containers, mtl, random, transformers
Files
- LICENSE +1/−0
- Setup.hs +2/−0
- click-clack.cabal +26/−0
- src/Main.hs +6/−0
+ LICENSE view
@@ -0,0 +1,1 @@+http://creativecommons.org/licenses/by-nc-sa/3.0/
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ click-clack.cabal view
@@ -0,0 +1,26 @@+Cabal-Version: >= 1.6+Build-Type: Simple+Tested-With: GHC+Category: Little Game+Name: click-clack+Version: 1.0+Stability: provisional+License: OtherLicense+License-File: LICENSE+Copyright: (c) 2012 Anton Kholomiov+Author: Anton Kholomiov+Maintainer: <anton.kholomiov@gmail.com>+Synopsis: Toy game (tetris on billiard board). Hipmunk in action.+Description:+ Control red ball with mouse clicks. Avoid blue balls (minus one live) and+ go for green balls (plus one live) and orange balls (bonus). ++Executable click-clack+ Build-Depends: base >= 3 && < 5, containers >= 0.1 && < 0.5,+ mtl >= 2, + random >= 1, MonadRandom >= 0 && < 1,+ Hipmunk >= 5.2 && < 5.3, transformers >= 0.2 && < 0.3,+ OpenGL >= 2.4 && < 2.6, StateVar >= 1.0 && < 1.1,+ GLFW >= 0.4 && < 0.6+ Main-is: Main.hs+ hs-source-dirs: src
+ src/Main.hs view
@@ -0,0 +1,6 @@+module Main where++import Loop ++main = gameLoop+