Skip to content

johnnyqbui/Arcade-Game-Frogger-Clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Ladybug's Life

This game is inspired by the classic game Frogger and is a project for Udacity nanodegree program.


About the game

I wanted this game to somewhat simulate what a ladybug might go through in real life. You start the game off as a ladybug in a park. There are people walking about and trash scattered on the walkway such as newspapers, paper balls, and banana peels.

Objective

The objective of the game is to reach the water while dodging any obstacles that may be in the way; this includes: the people walking, rocks, newspapers, paper balls, and banana peels. Once you reach the water your level increases.

Game instructions

  • Use arrow keys "up", "down", "left", and "right" to move.
  • Difficulty and level information are given above the game screen.
  • The difficulty of the game increases as the level increases.
  • Avoid obstacles (rocks, newspapers, paper balls, and banana peels) and enemies (people walking) as you make your way to the water.
  • Collect Orange Gems, it will help significantly.
  • You reset back to original position if the enemy hits you or after you reach the water.
  • To restart the game, press F5 on the keyboard.

Information about Orange Gems

  • Collecting Orange Gems will:
    • Slow down enemy speed temporarily.
    • Remove trash if it exceeds a certain amount.
    • Removes some enemies after a certain amount.

Spawning of Orange Gems:

  • Orange Gems have a ~20% chance of appearing after reaching the water.
  • The chances of an Orange Gem appearing increases as level increases.
  • Orange Gems also spawn if you've been hit by the enemy a certain number of times.
  • Orange Gem disappears if you advance to the next level without picking it up.

Win/Lose Condition

  • You win the game once you beat level 30, however you can continue on for a secret ending.
  • You don't actually lose in this game.

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 98.3%
  • HTML 1.4%
  • CSS 0.3%