Skip to content

Instantly share code, notes, and snippets.

@skensell
skensell / ScottsSnake.elm
Created May 30, 2014 15:46
snake game in Elm
--- module ScottsSnake where
import Keyboard
import Random
import String
import Set
type Position = {x: Int, y: Int }
type Board = {w: Int, h: Int, wall: [Position]}
type Apple = Position