{-# LANGUAGE OverloadedStrings #-} -- | -- SPDX-License-Identifier: BSD-3-Clause -- -- Constants used throughout the UI and game module Swarm.Constant where import Data.Text (Text) -- * Website constants -- By convention, all URL constants include trailing slashes -- when applicable. swarmRepoUrl :: Text swarmRepoUrl :: Text swarmRepoUrl = Text "https://github.com/swarm-game/swarm/" wikiUrl :: Text wikiUrl :: Text wikiUrl = Text swarmRepoUrl forall a. Semigroup a => a -> a -> a <> Text "wiki/" wikiCheatSheet :: Text wikiCheatSheet :: Text wikiCheatSheet = Text wikiUrl forall a. Semigroup a => a -> a -> a <> Text "Commands-Cheat-Sheet"