From 7d3ef3f895c198b942f95850a30a6910e6b600a9 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Sun, 29 Mar 2020 10:45:27 +0200 Subject: [PATCH] rename so it makes a little bit of sense --- backend/static/script/{maps.js => lobby.js} | 0 backend/templates/info.html | 54 --------------------- backend/templates/lobby.html.tera | 2 +- 3 files changed, 1 insertion(+), 55 deletions(-) rename backend/static/script/{maps.js => lobby.js} (100%) delete mode 100644 backend/templates/info.html diff --git a/backend/static/script/maps.js b/backend/static/script/lobby.js similarity index 100% rename from backend/static/script/maps.js rename to backend/static/script/lobby.js diff --git a/backend/templates/info.html b/backend/templates/info.html deleted file mode 100644 index 685c0a3..0000000 --- a/backend/templates/info.html +++ /dev/null @@ -1,54 +0,0 @@ -
-
-

- Planetwars -

-

- Welcome to Planetwars. Finally MOZAICP is ready to be used. -

-

- Feel free to create games, watch games, join games and build maps. -

-
-
-

Lobby

-

- The lobby is the central hub, here you can find active and finished games. When a game is active you can find a key to enter, more on this later. -

-

- In the lobby you can also create games, you should specify the name of your game, so you can later view it in the Visaulizer. Specify a map, maximum number of turns and the number of players. -

-

- Yes the lobby is ugly, yes, part of the html is refreshed every second. It's opensource, please fix. -

-
- -
-

Visualizer

-

- The visualizer is an interesting peace of software. With Webassembly and WebGL, it is pretty cool. Here you can view played games. When your hardware is too weak the voronoi diagram will disappear for the ultimate performance. -

-

- Why have an ugly scrollbar on the bottom on of the page? Instead of a scroll bar on the right side? Exellent question, it's opensource, please fix. -

-
- -
-

Map builder

-

The mapbuilder is probably the best looking page you will find here, thanks Arnhoudt!

-

Feel free to create as many dick maps as you want. There are a few caveats, first don't forget to name your map in your map name field... Secondly, watch your players, the grey hexagons are neutral planets, they have no owner. Next if you create a map for 2 players, only use the first two colours, that blue and that cyan. If you mix in red, shit will break, I don't know where though.

-

Ever built a map, and not have it show in up the lobby? Well probably something broke, too bad you have no confirmation that something broke, or if your upload was succesful. It's opensource, please fix.

-
- -
-

Debut Station

-

The debug station is nothing special, it just shows the current state of the underlying MOZAICP infrastructure.

-
- -
-

Contribute!

-

There is a lot that can still be done. Difficulty ranging from easy, like creating favicon, to very challenging, like add blockly client back from BottleBats.

-

This project ranges from shitty frontend code, to exotic shader language, and back to beautiful* rust. If you would like to help, but are confused due to the lack of documentation, or anything else, hit me up @silvius on mattermost or anywhere else.

-

Planetwars is made with .

-
-
diff --git a/backend/templates/lobby.html.tera b/backend/templates/lobby.html.tera index 45ca723..851cb9a 100644 --- a/backend/templates/lobby.html.tera +++ b/backend/templates/lobby.html.tera @@ -31,5 +31,5 @@ - + {% endblock %}