diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-10-28 15:50:13 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-10-28 15:50:13 +0700 |
commit | be6c2fedea57177b75bc1f50dfc016d672be92b1 (patch) | |
tree | e64b77992c5a04bc58e229800db5fbcc201f057a /brutalmaze | |
parent | bad902d02eb6be8ca1adbd311c94535a12a0b755 (diff) | |
download | brutalmaze-be6c2fedea57177b75bc1f50dfc016d672be92b1.tar.gz |
Update documentation related to #11
Diffstat (limited to 'brutalmaze')
-rw-r--r-- | brutalmaze/game.py | 6 |
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() |