+# Don't let any log leftovers from before interfere.
+if [ -e ./log ]
+then
+ rm log
+fi
+
+# Abort if no proper Python version installed.
+test=`command -v python3 | wc -l`
+if [ 1 -gt $test ]
+then
+ echo "FAILURE:"
+ echo "No python3 installed, but it's needed!"
+ exit 1
+fi
+
+# Give helpful message to players that want to start without compiling first.
+if [ ! -e ./libplomrogue.so ]
+then
+ echo 'No ./libplomrogue.so library found. Building …'
+ ./build.sh
+fi
+