Steve.org.uk

Steve Kemp's Homepage

 

 

This software is unmaintained.

A challenging Puzzle Game

MouseTrap is a challenging old-style puzzle game, involving you collecting fruit and avoiding the enemy red dots.

The aim of the game is to eat as many of the white fruit pieces as you can possibly manage before dying. Your reaction times will tested to the limit!

The enemy (red) balls are limitted in their movements - they are constrained to either move horizontally, vertically, or diagonally but they will not change their direction.

Dodging the enemy balls becomes very challenging once there are a lot on the screen at the same time. It requires as much thought as reaction speed.

ScreenShots

The mandatory screenshot:

Screenshot

Playing The Game

Use the arrow keys to move your avatar around, eating the white "fruit" and avoiding the red "enemies". If you eat a blue "fruit" you will gain a shield which will allow you to kill any of the enemies you bump into instead of dying yourself.

Apart from using the arrow keys to control your avatar you can use the following keys:

  • 'n' == New game
  • 'q' == Quit & Exit.
  • Space toggles pause.

Download

Download from the following URL:

SEKINE Tatsuo also made an Fedora Core 4 RPM for the game, which is also available.

Compilation

To compile the game from it's source code you'll need SDL v1.2, SDL-Mixer v1.2, and SDL-gfx v1.2 - Debian users can get them by running:

apt-get install libsdl1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev

Future Ideas?

Whilst the game is "complete" it might benefit from a few additions, to make it more fun:

  • Variable acceleration for the main player.
  • Graphics could obviously be improved.
    • libsdl-gfx is only used for the fast circle drawing code, so if they're replaced that means one less dependency.

Other than that the code is mostly OK. The sound effects will be used if they can be loaded successfully - although you can force them to be disabled via the following command line flag:

moustrap --no-sound

You can also cheat if you wish ...

Credits

The sound effects were taken from the game Komi The Spacefrog written by Allan Crossman (There is a package in the Debian archive which I highly recommend if you like fun and silly games :)

Thanks to Ryan Schultz for contributing a patch to make the red enemies have variable acceleration and diagonal movements.

 

Sitemap | Contact Me © 2014 Steve Kemp