planet-wars/backend/templates/info/info_6.html.tera

29 lines
568 B
Text
Raw Permalink Normal View History

2020-04-09 22:57:12 +02:00
{% extends "info/base" %}
2020-04-07 11:31:28 +02:00
{% block header %}
How to connect
{% endblock %}
2020-04-09 22:57:12 +02:00
{% block info %}
2020-04-07 11:31:28 +02:00
<div class="help_content_2">
<h2>You run your bot at your own pc and connect over tcp.</h2>
<h3>Follow these commands to connect using <em>simple.py</em>.</h3>
<pre class="commands">
<code>
$ wget mozaic.zeus.gent/bot/runner.py
$ wget mozaic.zeus.gent/bot/simple.py
$ python3 runner.py -p 9142 --host mozaic.zeus.gent \
2020-04-07 11:31:28 +02:00
-n &lt;Your name&gt; -i &lt;Id from the lobby&gt; \
python3 simple.py
2020-04-07 11:31:28 +02:00
</code>
</pre>
</div>
{% endblock %}