Last active
October 19, 2016 23:23
-
-
Save micktwomey/082a0c380f5d52cce052acc67df8c0c8 to your computer and use it in GitHub Desktop.
ELMO-8 Hello World.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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