Skip to content

Latest commit

 

History

History
executable file
·
30 lines (16 loc) · 1.36 KB

README.md

File metadata and controls

executable file
·
30 lines (16 loc) · 1.36 KB

Frogger Game Project

Table of Contents

Instructions

Load the game by opening the index.html file in your browser of choice.

This is a simple game, in which you try to move your player to the water squares without being hit by the crossing bugs. Along the way, you can grab jewels to increase your score, but be careful, because being hit by a bug also lowers your score!

You can choose another character by hitting the "Character select" button, and play music by hitting the play button at the bottom of the page. You can also pause the music and reduce the volume or mute it using the volume slider to the right of the play button.

Credits

The base HTML, CSS, images and Javascript files were provided by Udacity.

Random number picker coding from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Random number from an array code found here: https://zenscript.wordpress.com/2013/11/23/how-to-pick-a-random-entry-out-of-an-array-javascript/

Collision detection coding obtained from the following SO thread: https://stackoverflow.com/questions/2440377/javascript-collision-detection

Basic modal coding obtained here: https://www.w3schools.com/howto/howto_css_modals.asp

Sounds from http://soundbible.com.

All of the rest of the coding was done by me, Stephen Harding.