Wonko on 26 Jan 2002 20:22:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

spoon-business: Grid Stuff


{{
__Definitions&Pinball__

Create:
{{
__Grid Objects__

There exist objects called Grid Objects. A Grid Object is any object which
can occupy a square of the Grid. All Grid Objects must be either Mobile
Objects (MOs) or Stationary Objects (SOs), and must be either Impassable or
Passable.

A Grid Object is a MO if it is capable of making a Move. Otherwise, it is a
SO. A Move is a step between two consecutive squares. Two squares are
consecutive if both their x and y coordinates differ by no more than 1.

If a MO tries to Move to a square which cannot be moved to [[like if it
tries to move off the Grid, or into an Impassable object]], it Bounces and
Moves in the opposite direction instead.

If a Grid Object is Impassable, then no other Grid Object may enter the
square it occupies unless a rule explicit permits those two objects to
overlap.

All Grid Objects are Passable MOs unless otherwise specified.

Big Rocks, if they exist, are Impassable SOs.
}}

and

{{
__Pinball Guns__

Any player who does not have a Pinball Gun may buy one for 2 points. If a
player is on the Grid, and e has a Pinball Gun, e may Fire the Gun at any
square consecutive to eir position. If there is a MO in that square, that MO
moves twice in the direction opposite the one from which it was Fired at,
unless it Bounces, in which case it Moves in the opposite direction instead.
[[I have to include that in case something bounces as its first move, so it
will keep going in the bounced direction.]]
}}
}}

Rationale: The first part I think is just useful to have around. The second
part is fun. I do think parts of this are awkwardly phrased, though, and I'd
like to find a way to make things bounce off things realisticly (like
reverse only the x direction if it hits the walls while moving diagonally),
but I can't think of a good way to phrase that without making this far too
long. If anyone has any suggestions on how this could be better phrased,
please let me know.



-- 
Wonko
Recruit today night it feels.