57 lines
3.2 KiB
HTML
57 lines
3.2 KiB
HTML
<!doctype html>
|
|
<html class="no-js" lang="">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>Der Kartograph -- Map Generator</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="/static/styles.css" rel="stylesheet" type="text/css" media="all">
|
|
<script src="/static/generator.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>Der Kartograph — Map Generator</h1>
|
|
<a id="map-link" href="/map.svg?seed={{ .Seed }}&s={{ .Size }}&w={{ .Wastelands }}&r={{ .Ruins }}&m={{ .Mountains }}"><img src="/map.svg?seed={{ .Seed }}&s={{ .Size }}&w={{ .Wastelands }}&r={{ .Ruins }}&m={{ .Mountains }}" class="map"></a>
|
|
<p><img src="/static/images/logo.jpg">
|
|
Wem der beigelegte Spielblock des Spiels <a href="https://pegasusshop.de/sortiment/spiele/kennerspiele/9791/der-kartograph-nominiert-kennerspiel-des-jahres-2020">Der Kartograph</a>
|
|
des <a href="https://pegasus.de/">PEGASUS SPIELE Verlags</a> zu eintönig wird oder ihn schon leergespielt hat,
|
|
hat hier die Möglichkeit, neue Karten zu generieren. Die Standardwerte
|
|
sind der <a href="https://pegasusshop.de/media/pdf/e4/06/e0/Kartograph_Minivariante_Tabula_Rasa.pdf">Minivariante
|
|
"Tabula Rasa"</a> entnommen.
|
|
<form>
|
|
<fieldset>
|
|
<legend>Seed</legend>
|
|
<input type="text" name="seed" value="{{ .Seed }}">
|
|
<input type="button" name="random-seed" value="Zufall">
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>Spielfeldgröße</legend>
|
|
<input type="text" name="size" value="{{ .Size }}">
|
|
<input type="button" name="default-size" value="Standard (11)" class="default-button" data-default="11">
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>Parameter</legend>
|
|
<label for="wastelands">Ödland:</label>
|
|
<input type="text" name="wastelands" value="{{ .Wastelands }}">
|
|
<input type="button" name="default-wastelands" value="Standard (7)" class="default-button" data-default="7">
|
|
<br>
|
|
<label for="mountains">Berge:</label>
|
|
<input type="text" name="mountains" value="{{ .Mountains }}">
|
|
<input type="button" name="default-mountains" value="Standard (5)" class="default-button" data-default="5">
|
|
<br>
|
|
<label for="ruins">Ruinen:</label>
|
|
<input type="text" name="ruins" value="{{ .Ruins }}">
|
|
<input type="button" name="default-ruins" value="Standard (6)" class="default-button" data-default="6">
|
|
<br>
|
|
</fieldset>
|
|
|
|
<input type="button" name="refresh" value="Neu generieren">
|
|
</form>
|
|
|
|
<button class="action" data-target="/print?seed={{ .Seed }}&s={{ .Size }}&w={{ .Wastelands }}&r={{ .Ruins }}&m={{ .Mountains }}">Drucken</button>
|
|
<button class="action" data-target="/map.svg?seed={{ .Seed }}&s={{ .Size }}&w={{ .Wastelands }}&r={{ .Ruins }}&m={{ .Mountains }}">Direktlink</button>
|
|
|
|
<p>2011 <a href="https://aaron-fischer.net/">Aaron Fischer</a></p>
|
|
</body>
|
|
</html>
|