elm carcassonne
The Carcassonne board game in Elm-Lang.
Todo / Further Ideas:
- model the idea of a Player and turns, start tracking turns through the game
- allow game tiles to be rotated round before being placed
a turn has stages:
-
place the tile
-
(optionally) place a person
-
check if the tile placement means any people are picked up, and update points accordingly
-
end
-
deal with turn transitions erroring (for now, just show the error)
Running Locally
Clone, npm install
and then:
gulp test
to run tests with Elm-Testgulp serve
to run the app on a live server locallygulp build
to compile the Elm appgulp start
to watch and recompile Elm when files change