PyWeek - Mega awesome super game - feedback

Fun Prod Inno Disq N/W Comments
2 2 2

Crashed on the instruction screen. Look into shooting diagonally, and more than 1 bullet on the screen at once :) Did not see the link to "mutate" apart from starting story

5 5 5 yes

Sorry, i cant rate this game 5/5:

Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "/home/teri/PyWeek-13-finals/MASG/MASG/MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')

2 2 3

freezing in the instructions screen

5 5 5 yes

Can't start the game.

/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:297: SyntaxWarning: name 'whatru' is assigned to before global declaration
global whatru
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:299: SyntaxWarning: name 'treebullets' is assigned to before global declaration
global treebullets
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:757: SyntaxWarning: name 'highscore' is used prior to global declaration
global highscore
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1105: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1448: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1474: SyntaxWarning: name 'ezhd' is used prior to global declaration
global ezhd
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1477: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1480: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1484: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1487: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1490: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOError: [Errno 2] No such file or directory: '/media/stuff/downloads/PyWeek-13-finals/MASG/MASG/MASGdata../../data/high_scores.txt'

2 2 2

There's not a lot to be said about the gameplay, which is very simple, but OK. os.path.join is
your friend, and using it more often would have made it easier for me to get this game running.
Also, you should be aware that mixing cases in filenames makes your game less portable when
running on case sensitive file-systems. Using lists will help make your code a lot more
readable, as will factoring out common code into functions, rather than repeating it
multiple times (such as the repeated code in gameupdate, gameupdate2 & gameupdate3).
Passing parameters to your functions can also help reduce the amount of code duplication.

2 2 2

3 3 3 yes

python run_game.py
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:297: SyntaxWarning: name 'whatru' is assigned to before global declaration
global whatru
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:299: SyntaxWarning: name 'treebullets' is assigned to before global declaration
global treebullets
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:757: SyntaxWarning: name 'highscore' is used prior to global declaration
global highscore
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1105: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1448: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1474: SyntaxWarning: name 'ezhd' is used prior to global declaration
global ezhd
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1477: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1480: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1484: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1487: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1490: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOError: [Errno 2] No such file or directory: '/home/confluence/Downloads/PyWeek-13-finals/MASG/MASG/MASGdata../../data/high_scores.txt'

1 1 1 yes

You should have used os.path.join() everywhere. I couldn't even debug all the IOErros...

3 3 3

Easy mode was a bit hard. My high score is 30. It's got all the basic stuff, and despite some handled exceptions at start-up it works. The back story made me chuckle. :)

3 2 2

This game crashes a lot, and does some strange things with paths that I had to fix before it worked.

Your games have definitely improved over the past couple of pyweeks, but I strongly recommend getting a good Python book and learning the language a bit better. You have achieved an impressive amount with the style of code you're writing currently, but there are far better ways of working.

2 1 2

Had to work quite hard to get it to run. \o/ Music! Easy mode is broken, btw.

1 1 1

I got it working :). Getting there was half the fun!

$ python run_game.py
MASG/__main__.py:297: SyntaxWarning: name 'whatru' is assigned to before global declaration
global whatru
MASG/__main__.py:299: SyntaxWarning: name 'treebullets' is assigned to before global declaration
global treebullets
MASG/__main__.py:757: SyntaxWarning: name 'highscore' is used prior to global declaration
global highscore
MASG/__main__.py:1105: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
MASG/__main__.py:1448: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
MASG/__main__.py:1474: SyntaxWarning: name 'ezhd' is used prior to global declaration
global ezhd
MASG/__main__.py:1477: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
MASG/__main__.py:1480: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
MASG/__main__.py:1484: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
MASG/__main__.py:1487: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
MASG/__main__.py:1490: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOError: [Errno 2] No such file or directory: 'MASGdata../../data/high_scores.txt'
$ mkdir 'MASGdata..'
$ python run_game.py
Could not load image "MASG/data/../../data/images/enemy1.png" Couldn't open MASG/data/../../data/images/enemy1.png
$ mkdir MASG/data
$ python run_game.py
music not loaded
Traceback (most recent call last):
File "run_game.py", line 3, in <module>
MASG.__main__.main()
File "MASG/__main__.py", line 1585, in main
menucontrol()
File "MASG/__main__.py", line 148, in menucontrol
selectsprite.update()
File "/Library/Python/2.6/site-packages/pygame/sprite.py", line 462, in update
s.update(*args)
File "MASG/__main__.py", line 127, in update
sys.exit()
NameError: global name 'sys' is not defined

2 2 1

It took me a while to get this entry to work, due to your really weird resource loading paths. I think you should use the skellington from the PyWeek Rules page next time - it has a handy module that locates your data for you. As for the gameplay, it wasn't that bad. But why is the screen twice as tall as it needs to be? Why could I not get back to the menu from the Instructions page by pressing Space? I did like the different music on the different difficulty levels, and the cutscene was a nice touch.

Oh and I played a bunch and the only powerup I ever saw was the red arrow. Were there any more?

3 2 2

Nice, hope you keep trying for next pyweek!

2 2 2

Good start. Had to hack the code a lot to make the game work (bad paths for files, missing sys import).

3 3 3

nice game and music

1 1 1 yes

File "/Local/Games/PyWeek13/Unpack/MASG/MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOError: [Errno 2] No such file or directory: '/Local/Games/PyWeek13/Unpack/MASG/MASGdata../../data/high_scores.txt'

2 2 1

It was fun killing brown slime balls for awhile.

1 1 1 yes

Did not work. The paths are all wrong, and if only it was only that... I give up on this one.

3 3 3 yes

Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "/home/user/pyweek/PyWeek-13-finals/MASG/MASG/MASG/__main.py__", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOERROR: [Errno 2] No such file or directory: '/home/user/pyweek/PyWeek-13-finals/MASG/MASG/MASGdata../../data/high_scores.txt'

2 4 3

nice

1 1 1 yes

/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:297: SyntaxWarning: name 'whatru' is assigned to before global declaration
global whatru
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:299: SyntaxWarning: name 'treebullets' is assigned to before global declaration
global treebullets
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:757: SyntaxWarning: name 'highscore' is used prior to global declaration
global highscore
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1105: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1448: SyntaxWarning: name 'highscore' is assigned to before global declaration
global highscore
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1474: SyntaxWarning: name 'ezhd' is used prior to global declaration
global ezhd
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1477: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1480: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1484: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1487: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py:1490: SyntaxWarning: name 'ezhd' is assigned to before global declaration
global ezhd
Traceback (most recent call last):
File "run_game.py", line 1, in <module>
import MASG.__main__
File "/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASG/__main__.py", line 13, in <module>
filehandle = open(main_dir + 'data' +"../../data/high_scores.txt", 'r')
IOError: [Errno 2] No such file or directory: '/home/mihi/Downloads/PyWeek-13-finals/MASG/MASG/MASGdata../../data/high_scores.txt'

2 2 1

too much simple