Renamed to robinheghan/elm-warrior. It is published under that name, and new versions come out there.
Versions published as Skinney/elm-warrior still install under that name. 15 versions of 15 come from the new location (see their notes).
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/robinheghan/elm-warrior.
What we checked: The repo moved to github.com/robinheghan/elm-warrior. Rebuilt with git archive from commit 4ba4923ae490 of https://github.com/robinheghan/elm-warrior (zip prefix Skinney-elm-warrior-4ba4923/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 99be372d532fdd34e34c220fc6284db2fece676e.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/Skinney/elm-warrior/zipball/4.0.1/
You'll need the functions and Action type in this module to implement a turn function. The Map module can also be of some assistance.
The different actions which can be performed on a given turn. Wait will simply skip your turn. Heal let's the warrior recover some health. How much is influenced by the existence of potions in your inventory. Pickup will pick an item from the tile you are on, and place it on your inventory. Move let's you move one tile in any direction. Attack will make you attack in any direction. If another warrior is there that warrior will lose health. How much is influenced by the existance of a sword in your inventory.
The id, or name, of the warrior.
Retrieve the current position of a warrior.
Get the health of a warrior.
Get the maximum health the warrior can have. The warrior will start a map with this much health.
Calculates much health the warrior could potentially recover as the result of a heal action. This function doesn't consider your current health; you will never heal past your maxHealth.
Calculates how much damage the warrior will do as the result of an attack. The returned value depends on the items in the inventory.
This type represents a warrior.