Skip to content
Newer
Older
100755 36 lines (29 sloc) 1.16 KB
15590fd @cjb import junkjungle
authored May 12, 2011
1 #!/usr/bin/env python
2
3 #
4 # Junk Jungle, an exploration game
5 # Copyright (C) 2008 Radomir Dopieralski <junk@sheep.art.pl>
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
21 import os
22 import sys
23
24 # Make sure we are in the correct directory to load images
25 # and modules.
26 base_path = os.path.abspath(os.path.dirname(__file__))
27 sys.path.insert(0, os.path.join(base_path, "lib"))
28 if base_path:
29 os.chdir(base_path)
30
31 from game import Game
32
33 if __name__ == "__main__":
3aa353c @cjb Day two, implement exit objects
authored May 17, 2011
34 Game().play_level(None)
15590fd @cjb import junkjungle
authored May 13, 2011
35
Something went wrong with that request. Please try again.