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
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. download 855kb .zip
Last Modified: November 19, 2015
A. Titus and F. Esquembre, Computer Program FROGGER JS MODEL (2015), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13821&DocID=4241).
Titus, A., & Esquembre, F. (2015). Frogger JS Model [Computer software]. Retrieved December 12, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13821&DocID=4241
Titus, Aaron, and Francisco Esquembre. "Frogger JS Model." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13821&DocID=4241 (accessed 12 December 2024).
%0 Computer Program %A Titus, Aaron %A Esquembre, Francisco %D 2015 %T Frogger JS Model %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13821&DocID=4241
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.