centipede
CONTENTS of THIS PAGE...
Problem Statement:
Background & History
| Game Basics: |
| The game consists of a screen, on which we 'draw' numerous Things. Some Things can move and others not. One of the Things is controllable by user input (we can make it move and shoot). |
|
We will create an initial configuration at the start of the game consisting of a number of different Bugs. When we have destroyed them all, we win. If we get destroyed first, we loose. |
|
q
|
= Quit |
s
|
= Shoot |
| <blank> |
= move everyone but Gun
|
o
|
= mOve and shoot |
|
z
|
= move Gun left |
.
|
= move right and shoot |
|
/
|
= move Gun right |
x
|
= move left and shoot |
|
j
|
|
u
|
= jUmp and shoot |
| -- |
asst level
|
move? |
direction
|
action
|
when shot
|
|
Mushrooms
|
C
|
no
|
---
|
obstacle
|
disappear
|
|
Gun
|
C
|
yes
|
E-W
|
move, and shoot
|
-- |
|
Bug: Scorpion
|
B
|
yes
|
E-W
|
mushrooms encountered are changed to poison mushrooms (which make the centipede drop)
|
disappear
|
|
Bug: Flea
|
B
|
yes
|
S
|
when < X mushrooms, it drops and leaves mushrooms behind
|
disappear
|
|
Bug: Spider
|
A
|
yes
|
diagonal
|
collisions w/ mushrooms make the mushrooms disappear AND make spider change direction
|
disappear
|
|
Bug: Centipede
|
A (simple version)
|
yes
|
'serpentine', changes direction when it encounters something
|
eats other bugs, but not mushrooms, still changes direction [moves E-W but when it changes, it moves one row down too]
|
[A] disappear /or/ [Bonus] splits into 2 centipedes [Bonus] drop when it encounters a poison mushroom
|
|
Missiles
|
C
|
yes
|
N
|
when they encounter an obstacle, that obstacle is destroyed
|
n/a
|
Updated: