From be6c2fedea57177b75bc1f50dfc016d672be92b1 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 28 Oct 2018 15:50:13 +0700 Subject: Update documentation related to #11 --- brutalmaze/game.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'brutalmaze') 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 . -__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() -- cgit 1.4.1