Make python3 explicit for non-Arch based systems (as if those even exist)

This commit is contained in:
redfast00 2020-04-07 23:57:41 +02:00
parent f646d83b0e
commit c0f31e61df
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C
4 changed files with 5 additions and 5 deletions

View file

@ -18,9 +18,9 @@ How to connect
<code> <code>
$ wget mozaic.zeus.gent/bot/runner.py $ wget mozaic.zeus.gent/bot/runner.py
$ wget mozaic.zeus.gent/bot/simple.py $ wget mozaic.zeus.gent/bot/simple.py
$ python runner.py -p 9142 --host mozaic.zeus.gent \ $ python3 runner.py -p 9142 --host mozaic.zeus.gent \
-n &lt;Your name&gt; -i &lt;Id from the lobby&gt; \ -n &lt;Your name&gt; -i &lt;Id from the lobby&gt; \
python simple.py python3 simple.py
</code> </code>
</pre> </pre>
</div> </div>

View file

@ -54,7 +54,7 @@
<p>Build a bot! All information about the planetwars game, <a target="_blank" href="https://docs.google.com/presentation/d/1YXr7IsmEiBpRwgAoFPqsjFoKoyXOv9LAhPbsambGX70/edit?usp=sharing">please visit</a> for input output format etc. You can find an example bot <a href="bot/simple.py">here</a>.</p> <p>Build a bot! All information about the planetwars game, <a target="_blank" href="https://docs.google.com/presentation/d/1YXr7IsmEiBpRwgAoFPqsjFoKoyXOv9LAhPbsambGX70/edit?usp=sharing">please visit</a> for input output format etc. You can find an example bot <a href="bot/simple.py">here</a>.</p>
<p>Optionally, you can create your own custom with the mapbuilder</p> <p>Optionally, you can create your own custom with the mapbuilder</p>
<p>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.</p> <p>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.</p>
<p>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 <a href="bot/runner.py">the botrunner</a> to run your bot, with the command <span style="font-style: italic;">python runner.py --host mozaic.zeus.gent -n {your name} -i {your key} {The command to start you bot}</span>. <p>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 <a href="bot/runner.py">the botrunner</a> to run your bot, with the command <span style="font-style: italic;">python3 runner.py --host mozaic.zeus.gent -n {your name} -i {your key} {The command to start you bot}</span>.
<p>Invite friends!</p> <p>Invite friends!</p>
<p>Bash your friends because you have the superior bot, according to the visualizer</p> <p>Bash your friends because you have the superior bot, according to the visualizer</p>
</div> </div>

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo "Using token $1" echo "Using token $1"
python runner.py -n simple.py --host ${HOST:-localhost} -p 9142 -i $1 python simple.py python3 runner.py -n simple.py --host ${HOST:-localhost} -p 9142 -i $1 python3 simple.py

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/usr/bin/env python3
import socket, sys, subprocess, argparse, io, threading, json import socket, sys, subprocess, argparse, io, threading, json