
mousetrap v1.0
--------------


  MouseTrap is a simple retro-styled arcade game in which you
 must guide your knight around the flat screen eating the white
 fruit - whilst avoiding the red baddies!

  Obviously you can create your own plot if you like, but I've
 not bothered ;)


Controls
--------

  The player may be moved via the arrow keys, and space
 will toggle the pause function.

  New games can be started by the 'n' key:


        Move up    - Up Arrow
        Move down  - Down arrow
        Move left  - Left arrow
        Move right - Right arrow
        Pause      - Space
        New game   - 'n' key


Credits
-------

  Several components of this code came from other sources.  This
 is to be expected as it's my first foray into the world of game
 development with SDL.

	Sound Effects are all from "Komi the space frog":
		http://komi.sf.net

	Font drawing code was written by Marius Andra:
		http://cone3d.gamedev.net/

        The knight avatar and grass backdrop came from:
		http://tonyandpaige.com/tutorials/sdl2.html


Hacking
-------

  Most of the code is simple stuff, and you should be able to
 tweak it if you wish.

  All the source is beneath src/, with the data being in the
 data/ subdirectory.

  To give a simple introduction to the code the major classes
 are:

	enemy.{cpp h}
	  Code relating to the movement and setup of the enemies.

	font.{cpp h}
	  Code for drawing text upon the screen - I didn't write this.

	highscore.{cpp h}
	  Code relating to persistence of highscores.

	mousetrap.{cpp h}
	  The main game logic

	soundeffects.{cpp h}
	  Code for the sound effect loading and playing.


Future
------

  For the future I'd like to see some background music, and the
 ability to do some shooting.

  The only other addition I can see is more powerups - I have the
 idea of an expanding "circle of death" on eating some other kind
 of fruit.

  Collision detection needs improving.


Feedback?
---------

  Feel free to mail me, steve@steve.org.uk


Steve
--
