From 23408c6b463ee2a73060f08e29b221467d310066 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 2 Apr 2021 22:26:31 +0200 Subject: add simple web tools --- html/Makefile | 7 ++- html/index.md | 2 +- html/tools.html | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 2 deletions(-) create mode 100644 html/tools.html diff --git a/html/Makefile b/html/Makefile index f86a82cf..d66c9f0c 100644 --- a/html/Makefile +++ b/html/Makefile @@ -37,7 +37,7 @@ EN_CARDS_LISTING := en/$(CARDS_LISTING) LANG_CARDS_LISTINGS := $(foreach card_listing, $(DE_CARDS_LISTING) $(EN_CARDS_LISTING), \ $(addprefix $(BUILDDIR)/, $(card_listing:.md=.html))) -SITES := index.md rules.md cards.md maps.md +SITES := index.md rules.md cards.md maps.md tools.html HTML := $(addprefix $(BUILDDIR)/,$(SITES:.md=.html)) VPATH := $(RULES_ROOT) @@ -64,6 +64,11 @@ cards-de: .PHONY: cards-en cards-en: +$(BUILDDIR)/tools.html: tools.html + @echo "copying $@" + @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi + $(VERBOSE) cp $< $@ + cards: $(LANG_CARDS_LISTINGS) @echo "create cards data symlink" $(VERBOSE) ln -sfT $(DATA_ROOT)/cards $(BUILDDIR)/cards-data diff --git a/html/index.md b/html/index.md index 7092fdc5..c4174769 100644 --- a/html/index.md +++ b/html/index.md @@ -1,7 +1,7 @@ % Muhq's Game (working title)
-[rules](rules.html) [cards](cards.html) [maps](maps.html) +[rules](rules.html) [cards](cards.html) [maps](maps.html) [web-tools](tools.html)
Muhq's game is a mashup of multiple game mechanics I enjoy. diff --git a/html/tools.html b/html/tools.html new file mode 100644 index 00000000..86e8ea61 --- /dev/null +++ b/html/tools.html @@ -0,0 +1,183 @@ + + + + + Muhq’s Game Web Tools + + + + + + + + +
+Random number smaller than +
+ + + + +
+
+ +
+Random tile within +
+ + + +
+
+ +
+Random tile within Range +
+ + + + + + include center +
+
+ +
+
+ + + -- cgit v1.2.3