From 39940aaabd057cb498d51cd2cceef7be187ab3d2 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 25 Apr 2022 20:13:18 +0200 Subject: add turn limit and environment info to rules --- web/pw-server/src/lib/components/RulesView.svelte | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'web/pw-server/src/lib/components') 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 @@
-

Welcome to planetwars!

+

Welcome to planetwars!

Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that @@ -90,6 +90,17 @@ ship, last man standing gets to keep the planet.

+

+ 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. +

+ +

+ You can code your bot in python 3.10. You have the entire stdlib at your disposal.
+ If you'd like additional libraries or a different programming language, feel free to nag the administrator. +

+ +

TL;DR

Head over to the editor view to get started - a working example is provided.
Feel free to just hit the play button to see how it works! @@ -111,4 +122,8 @@ .game-rules p { padding-top: 1.5em; } + + .game-rules .tldr { + padding-top: 3em; + } -- cgit v1.2.3