import Playground exposing (..)
w = computer.screen.width
h = computer.screen.height
b = computer.screen.bottom
[ rectangle (rgb 174 238 238) w h
, rectangle (rgb 74 163 41) w 100
, image 70 70 (toGif mario)
|> move mario.x (b + 76 + mario.y)
"https://elm-lang.org/images/mario/jump/" ++ mario.dir ++ ".gif"
else if mario.vx /= 0 then
"https://elm-lang.org/images/mario/walk/" ++ mario.dir ++ ".gif"
"https://elm-lang.org/images/mario/stand/" ++ mario.dir ++ ".gif"