{% extends "base" %} {% block content %}
Welcome to Planetwars. Finally MOZAICP is ready to be used.
Feel free to create games, watch games, join games and build maps.
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 Visualizer. 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 .
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 .
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 .
The debug station is nothing special, it just shows the current state of the underlying MOZAICP infrastructure.
Build a bot! All information about the planetwars game, please visit for input output format etc. You can find an example bot here.
Optionally, you can create your own custom with the mapbuilder
Start a game instance in the lobby, don't forget to name it, watching the visualization afterwars is the only way to know who won atm.
Start up your bot and connect to the game instance. In the lobby you will see keys corresponding to players in the game. You can use the botrunner to run your bot, with the command python runner.py --host mozaic.zeus.gent -p 9142 -i {your key} {The command to start you bot}.
Invite friends!
Bash your friends because you have the superior bot, according to the visualizer
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.