Skip to content

Instantly share code, notes, and snippets.

View vertexcite's full-sized avatar

Randall Britten vertexcite

  • Auckland, New Zealand
View GitHub Profile
@vertexcite
vertexcite / AAA.txt
Last active August 29, 2015 14:21 — forked from Porges/AAA.txt
Using cabal to install quickcheck:
Make a directory to work in.
Inside the directory: “cabal sandbox init”
Then: “cabal install quickcheck”
You can open the GHCI repl in the sandbox:
"cabal repl"
And use normal commands like ":load filename.hs"
module Game2048 where
import Graphics.Collage as Collage
import Keyboard
import Random
import Transform2D as TF
import List exposing (..)
import Color exposing (rgb, green, black, grey)
import Graphics.Element exposing (show, color, centered, Element)
import Graphics.Collage exposing (Form)