1 | Operation Fox Assault |
---|
2 | ===================== |
---|
3 | |
---|
4 | Entry in PyWeek #9 <http://www.pyweek.org/9/> |
---|
5 | Team: Rinkhals |
---|
6 | Members: |
---|
7 | |
---|
8 | Adrianna Pinska |
---|
9 | Jeremy Thurgood |
---|
10 | Neil Muller |
---|
11 | Simon Cross |
---|
12 | David Fraser |
---|
13 | |
---|
14 | A first PyWeek entry by the hackers of the Cape Town Python Users Group |
---|
15 | (CTPUG). The theme for PyWeek 9 was "Feather". |
---|
16 | |
---|
17 | |
---|
18 | RUNNING THE GAME |
---|
19 | ================ |
---|
20 | |
---|
21 | It is likely that you have obtain the game in one of four possible ways: |
---|
22 | |
---|
23 | Windows: |
---|
24 | |
---|
25 | If you have the Windows .zip file, unzip it, find foxassault.exe and |
---|
26 | doube-click it to launch the game. |
---|
27 | |
---|
28 | Unix: |
---|
29 | |
---|
30 | If you have the Unix .tgz file, make sure you have Python and pygame |
---|
31 | installed. The extract the tar file and run "python run_game.py" from |
---|
32 | inside the extracted folder. |
---|
33 | |
---|
34 | Mac OS X: |
---|
35 | |
---|
36 | If you have the Mac OS X .dmg file, double-click to open it. Drag |
---|
37 | Operation Fox Assault to Applications to install. Alternatively, |
---|
38 | double-click on Operation Fox Assault to run it. |
---|
39 | |
---|
40 | Source: |
---|
41 | |
---|
42 | If you have obtained the source directly, you need to install the |
---|
43 | dependencies listed further down. Then run "python run_game.py". |
---|
44 | |
---|
45 | |
---|
46 | CHOOSING A LEVEL |
---|
47 | ================ |
---|
48 | |
---|
49 | The levels can be found in data/levels. Start the game with the level name |
---|
50 | as the first parameter. |
---|
51 | |
---|
52 | |
---|
53 | HOW TO PLAY THE GAME |
---|
54 | ==================== |
---|
55 | |
---|
56 | Save the chickens! |
---|
57 | |
---|
58 | The aim of the game is to make as much money as possible from your chicken |
---|
59 | farm. The problem is the foxes, which want to eat your chickens. Since hiring |
---|
60 | guards is both too expensive and unreliable, the obvious solution is to help |
---|
61 | the chickens defend themselves. |
---|
62 | |
---|
63 | You lose if you end a night with no chickens left. |
---|
64 | |
---|
65 | Chickens only lay eggs in henhouses, and must stay on the egg for 2 days to |
---|
66 | hatch a new chicken. Chickens that hatch in already full henhouses are |
---|
67 | moved to just outside. If there is no space outside, they die immediately |
---|
68 | from overcrowding. |
---|
69 | |
---|
70 | The the length of the game and the conditions required to win depend on the |
---|
71 | chosen level. The instructions for the level will be shown at the bottom |
---|
72 | of the instructions screen. |
---|
73 | |
---|
74 | |
---|
75 | DEPENDENCIES |
---|
76 | ============ |
---|
77 | |
---|
78 | You will need to install these before running the game: |
---|
79 | |
---|
80 | Python: http://www.python.org/ |
---|
81 | PyGame: http://www.pygame.org/ |
---|
82 | Python Game Utilities: http://code.google.com/p/pgu |
---|
83 | |
---|
84 | Fox Assault requires python 2.5 or later, pygame 1.8 or later and |
---|
85 | pgu 0.12.3. |
---|
86 | |
---|
87 | LICENSE |
---|
88 | ======= |
---|
89 | |
---|
90 | GNU Public License, version 2 or later. See COPYING. |
---|
91 | For authors see COPYRIGHT. |
---|
92 | |
---|
93 | |
---|
94 | LINKS |
---|
95 | ===== |
---|
96 | |
---|
97 | - http://www.python.org.za/pugs/cape-town/Pyweek9Entry |
---|
98 | - IRC: #ctpug on Atrum (http://www.atrum.org) |
---|
99 | |
---|
100 | - http://www.pyweek.org/9/ |
---|
101 | - IRC: #pyweek on FreeNode |
---|
102 | - http://search.twitter.com/search?q=pyweek |
---|