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

29 lines
582 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>
2020-11-14 18:21:27 +01:00
$ wget {{ get_host_name() }}/bot/runner.py
$ wget {{ get_host_name() }}/bot/simple.py
$ python3 runner.py -p 9142 --host {{ get_host_name() }}\
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 %}