about summary refs log tree commit diff homepage
path: root/brutalmaze
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-10-28 15:50:13 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-10-28 15:50:13 +0700
commitbe6c2fedea57177b75bc1f50dfc016d672be92b1 (patch)
treee64b77992c5a04bc58e229800db5fbcc201f057a /brutalmaze
parentbad902d02eb6be8ca1adbd311c94535a12a0b755 (diff)
downloadbrutalmaze-be6c2fedea57177b75bc1f50dfc016d672be92b1.tar.gz
Update documentation related to #11
Diffstat (limited to 'brutalmaze')
-rw-r--r--brutalmaze/game.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/brutalmaze/game.py b/brutalmaze/game.py
index ca99a14..94e2f08 100644
--- a/brutalmaze/game.py
+++ b/brutalmaze/game.py
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Brutal Maze.  If not, see <https://www.gnu.org/licenses/>.
 
-__version__ = '0.8.22'
+__version__ = '0.8.23'
 
 import re
 from argparse import ArgumentParser, FileType, RawTextHelpFormatter
@@ -417,3 +417,7 @@ def main():
             while game.update(): game.touch_control()
         else:
             while game.update(): game.user_control()
+
+
+# Allow launching the game via invoking ``python -m brutalmaze.game''
+if __name__ == '__main__': main()