riichi/priv/src/Riichi.elm

38 lines
518 B
Elm
Raw Normal View History

2017-07-19 02:13:27 +00:00
module Riichi exposing (..)
import Html exposing (..)
type alias Model =
{}
type Msg
= Noop
init : ( Model, Cmd Msg )
init =
( {}, Cmd.none )
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )
main : Program Never Model Msg
main =
program
{ init = init
, update = update
, view = view
, subscriptions = \_ -> Sub.none
}
view : Model -> Html Msg
view model =
div []
[ h1 [] [ text "Riichi Mahjong" ] ]