aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/lib/components')
-rw-r--r--web/pw-server/src/lib/components/RulesView.svelte17
1 files changed, 16 insertions, 1 deletions
diff --git a/web/pw-server/src/lib/components/RulesView.svelte b/web/pw-server/src/lib/components/RulesView.svelte
index 177b5b1..360504a 100644
--- a/web/pw-server/src/lib/components/RulesView.svelte
+++ b/web/pw-server/src/lib/components/RulesView.svelte
@@ -1,6 +1,6 @@
<div class="container">
<div class="game-rules">
- <h3>Welcome to planetwars!</h3>
+ <h2 class="title">Welcome to planetwars!</h2>
<p>
Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that
@@ -91,6 +91,17 @@
</p>
<p>
+ The game will end when no enemy player ships remain (neutral ships may survive), or when the
+ turn limit is reached. The default limit is 100 turns.
+ </p>
+
+ <p>
+ You can code your bot in python 3.10. You have the entire stdlib at your disposal. <br />
+ If you'd like additional libraries or a different programming language, feel free to nag the administrator.
+ </p>
+
+ <h3 class="tldr">TL;DR</h3>
+ <p>
Head over to the editor view to get started - a working example is provided. <br />
Feel free to just hit the play button to see how it works!
</p>
@@ -111,4 +122,8 @@
.game-rules p {
padding-top: 1.5em;
}
+
+ .game-rules .tldr {
+ padding-top: 3em;
+ }
</style>