Skip to main content

PyRats - 0.01

Python remake/clone of Rats!


Matt Windsor
(captainhayashi)

A python remake/clone of the old windows 3.1 game Rats! by Sean O'Connor. (Name is very unimaginative and a bit too close to the original for comfort, so any suggestions on a better and less-likely-to-be-sued name are welcome =P)

Requires Pygame 1.8.0 or newer and Python 2 (tested with 2.6).

The objective of the game (which will come into play in a later release): Kill all the rats, before they mate out of control.

If a fertile male adult touches a fertile female adult (that isn't already expecting), they will mate and the now pregnant female will give birth to more rats. If unchecked, this could lead to a population explosion, and the end of your game.

Changes

0.01 - Not very functional (no user interaction yet), but all the rat subsystems (movement, turning, mating and pregnancy) are here. This currently runs horrifically slowly, with the framerate dropping from 30FPS to 20FPS with about 40 rats, with Psyco enabled. Any pointers for optimisation would be greatly appreciated. Hopefully once I get the speed problem sorted I can begin adding the weapons and turn this into a game =D NOTE: I forgot to add COPYING and README files. PyRats is released under the terms of the GPL, version 3 (or later), and to run it open a shell in the directory you extracted the zip to and type "python PyRats.py".

Links

Home Page
http://www.d-linc.co.uk/python/pyrats
Source
http://www.d-linc.co.uk/python/pyrats/pyrats-0.01.zip

Releases

PyRats 0.01 — 4 May, 2009

PyRats 0.03 — 13 May, 2009

PyRats 0.02 — 9 May, 2009

Pygame.org account Comments