Make python3 explicit for non-Arch based systems (as if those even exist)
This commit is contained in:
parent
f646d83b0e
commit
c0f31e61df
4 changed files with 5 additions and 5 deletions
|
@ -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 <Your name> -i <Id from the lobby> \
|
-n <Your name> -i <Id from the lobby> \
|
||||||
python simple.py
|
python3 simple.py
|
||||||
</code>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue