- make config files format more readable / self-explanatory
 
-- in startup script, pipe server output to log file instead of stdout
-
 SERVER:
 
 - implement field of view / line of sight and obstacles for those on the map
 
 # Abort the script on error.
 set -e
 
-# Use the shell script's arguments to the server's arguments.
-./roguelike-server "$@" &
+# Use shell script's arguments for server and pipe server output to log file.
+./roguelike-server "$@" > log 2>&1 &
 
 # Give server some time to start up and exit on error.
 sleep 0.01