home—info—lectures—exams—hws—archive
frogger-outline
frogger description
Over the course of
several homeworks,
we will implement a simplified version
of the retro video game
frogger.
Our version differs from the original game, in some ways.
In our version:
-
The frog itself can face and move in one of four directions.
-
The frog starts at the bottom of the screen.
-
The frog's goal is to kiss a princess.
Princesses only appear at
a random location at the top of the screen,
stay there for a fixed amount of time (say, 10seconds),
and then disappear, with another princess appearing somewhere else.
-
In the version demo'd in class,
there was only one (rather masculine, and rather large) princess.
However, our version will (eventually)
allow for multiple princesses at the
same time.
We'll presumably have smaller icons for the frog and for
princesses, compared to the version demo'd in class.
-
Unfortunately for our frog,
there is a highway separating the bottom of the screen from
the top.
He(?) must hop to a princess at the top,
while avoiding speeding trucks.
-
Trucks travel left to right, at different speeds.
You can either have them in separate lanes (as the original
arcade game), or let them overlap (as in the version demo'd
in class).
You are welcome to add additional features, or modify details.
(For instance, having trucks that travel in each direction,
or have trucks travle up and down with the frog traveling left-to-right.)
You may also make isomorphic changes
(e.g. a spaceship at the bottom trying to reach the wormhole at the
top while avoiding asteroids).
If you use other images or sounds for your game,
you must make sure you have the right to use them.
home—info—lectures—exams—hws—archive