Assignment JS8: Road Crossing Game and Easing Movement



IMPORTANT: Upload your final game to Canvas as a .wick file.





    This game is based on the classic 80's arcade game Frogger.

    The main goal is to safely guide the child from the sidewalk at the bottom
    of the screen to the sidewalk at the top of the screen. The user will need to time
    their movements so that the child does not get hit by a car.

    The Highway: The child starts at the bottom sidewalk, as shown in the image, and
    must move across a busy highway without getting hit by speeding cars. The child can
    move back and forth across the highway.

Construct the interactive app shown on the right.
  1. In this game, the player uses the arrow keys
    key-up and key-down to direct the child
    character across a busy street.
  2. The canvas is divided into five horizontal
    sections. The top and botton sections are
    sidewalks. The three middle sections are
    street lanes.
  3. Each street lane contains a car that moves
    at a given speed in a given direction.
  4. The child character is returned to its original
    sidewalk location if it collides with a car.
  5. The goal of the game is to guide the child to
    the sidewalk at the top of the busy street.\