Operation Fox Assault
=====================

Entry in PyWeek #9  <http://www.pyweek.org/9/>
Team: Rinkhals
Members:

    Adrianna Pinska
    Jeremy Thurgood
    Neil Muller
    Simon Cross
    David Fraser

A first PyWeek entry by the hackers of the Cape Town Python Users Group
(CTPUG). The theme for PyWeek 9 was "Feather".


RUNNING THE GAME
================

It is likely that you have obtain the game in one of four possible ways:

Windows:

If you have the Windows .zip file, unzip it, find foxassault.exe and
doube-click it to launch the game.

Unix:

If you have the Unix .tgz file, make sure you have Python and pygame
installed. The extract the tar file and run "python run_game.py" from
inside the extracted folder.

Mac OS X:

If you have the Mac OS X .dmg file, double-click to open it. Drag
Operation Fox Assault to Applications to install. Alternatively,
double-click on Operation Fox Assault to run it.

Source:

If you have obtained the source directly, you need to install the
dependencies listed further down. Then run "python run_game.py".


CHOOSING A LEVEL
================

The levels can be found in data/levels. Start the game with the level name
as the first parameter.


HOW TO PLAY THE GAME
====================

Save the chickens!

The aim of the game is to make as much money as possible from your chicken
farm. The problem is the foxes, which want to eat your chickens.  Since hiring
guards is both too expensive and unreliable, the obvious solution is to help
the chickens defend themselves.

You lose if you end a night with no chickens left.

Chickens only lay eggs in henhouses, and must stay on the egg for 2 days to
hatch a new chicken. Chickens that hatch in already full henhouses are
moved to just outside. If there is no space outside, they die immediately
from overcrowding.

The the length of the game and the conditions required to win depend on the
chosen level. The instructions for the level will be shown at the bottom
of the instructions screen.


DEPENDENCIES
============

You will need to install these before running the game:

  Python:                   http://www.python.org/
  PyGame:                   http://www.pygame.org/
  Python Game Utilities:    http://code.google.com/p/pgu 

Fox Assault requires python 2.5 or later, pygame 1.8 or later and
pgu 0.12.3.

LICENSE
=======

GNU Public License, version 2 or later. See COPYING.
For authors see COPYRIGHT.


LINKS
=====

- http://www.python.org.za/pugs/cape-town/Pyweek9Entry
- IRC: #ctpug on Atrum (http://www.atrum.org)

- http://www.pyweek.org/9/
- IRC: #pyweek on FreeNode
- http://search.twitter.com/search?q=pyweek
