Old-fashioned arcade/puzzle game in which you run around eating fruit
Mousetrap is an old-fashioned arcade type game in which you move your avatar around trying to eat fruit and avoid being killed by baddies. The game requires patience and dexterity to win.
License: free
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | no | yes |
Submitted by anonymous on 2005-06-13.

You should make the balls move quickly along the time, or the lives come less often. You can also reduce the time you can kill balls when respawing. But you should make your game not infinity playable with a constant difficulty. You should also improve graphics (im thinking of balls that move trough the hero) to make this little game good to keep on the hand :)
Cheers for the feedback, I think you're right.
I've made it gradually easier to the point where longer games are much more likely. I think that I'll have to add some new behaviour, whether it's movement dynamics or speedups.
I guess I will have to consider different options and try to make sure it remains more balanced. Perhaps a new life should be harder to gain for a start.
#include <unistd.h>to mousetrap.cpp. Shouldn't be easier to just usefopen(f_path,"r")and check if the file has been opened?By the way, I think you should use "using namespace std".
Now, the list of suggestions:
- Really needs graphics... And also animations... And should use SDL_image to load graphics from PNG files instead of BMP files.
- Really need better collision detection.
- Joystick support.
- Mouse support could be cool. Since gameplay is very different when using mouse, some rules could be changed.
- Multiple levels, more or less like "Snake" (from Nokia cellulars) levels.
- Visual feedback of shield "power" near the player.
I like the "last life" sound.