From 82ab9cef78020361d556f4208c57ecd9259d51ea Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 22 Aug 2022 21:18:20 +0200 Subject: populate new index page --- web/pw-server/src/lib/components/RulesView.svelte | 7 +- web/pw-server/src/routes/index.svelte | 92 +++++++++++++++++++++++ 2 files changed, 93 insertions(+), 6 deletions(-) (limited to 'web/pw-server/src') diff --git a/web/pw-server/src/lib/components/RulesView.svelte b/web/pw-server/src/lib/components/RulesView.svelte index 92de37e..c7d4a4a 100644 --- a/web/pw-server/src/lib/components/RulesView.svelte +++ b/web/pw-server/src/lib/components/RulesView.svelte @@ -1,11 +1,6 @@
-

Welcome to planetwars!

- -

- Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that - will conquer the galaxy for you, while you take care of more important stuff. -

+

How to play

In every game turn, your bot will receive a json-encoded line on stdin, describing the current state of the game. Each state will hold a set of planets, and a set of spaceship fleets diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte index e69de29..fd1f505 100644 --- a/web/pw-server/src/routes/index.svelte +++ b/web/pw-server/src/routes/index.svelte @@ -0,0 +1,92 @@ + + + + +

+
+

Welcome to PlanetWars!

+

+ Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that + will conquer the galaxy for you, while you take care of more important stuff. +

+

+ Feel free to watch some games below to see what it's all about. When you are ready to try + writing your own bot, head over to + How to play for instructions. You can program your bot in the browser + using the Editor. +

+
+

Recent matches

+ +
+ View more +
+
+ + -- cgit v1.2.3