Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Frogger JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Frogger JS Model 

written by Aaron Titus and Francisco Esquembre

The Frogger JavaScript model shows how to use EjsS to recreate a classic video game. The user must move the frog safely to a lily pad after crossing a road and a river. Aim for the yellow lily pad, which is selected randomly at the start of the game. The frog dies if it travels off the screen (to the left or to the right), if it is hit by a vehicle, or if it falls into the water. To get across the water, it must jump onto floating objects, including the turtles and fish

Last Modified November 19, 2015

Source Code Documents

Frogger Source Code 

This source code zip archive contains an XML representation of the Frogger JavaScript Model.   Unzip this archive in your EjsS workspace to compile and run this model using EjsS 5 or above.  Although EjsS is a Java program, EjsS 5 creates a standalone JavaScript program from this source code.

Last Modified November 19, 2015

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics