Skip to content

Instantly share code, notes, and snippets.

@micktwomey
Last active October 19, 2016 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micktwomey/082a0c380f5d52cce052acc67df8c0c8 to your computer and use it in GitHub Desktop.
Save micktwomey/082a0c380f5d52cce052acc67df8c0c8 to your computer and use it in GitHub Desktop.
ELMO-8 Hello World.
import Elmo8.Console as Console
import Elmo8.Palettes.Pico8 as Palette
type alias Model = {}
draw : Console.Console Model -> Model -> List Console.Command
draw console model =
[ Console.sprite 2 60 30
]
update : Model -> Model
update model = model
main : Program Never
main =
Console.boot
{ draw = draw
, init = { }
, update = update
, spritesUri = "/birdwatching.png"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment