The Shooting Fish in a Barrel Model presents a simple game that shows how to solve arrays of ordinary differential equations (ODEs) and how to use ODE events to detect collisions. This game was developed a mid-term project in computational physics class at Davidson College.
The Shooting Fish in a Barrel Model was created using the Easy Java/JavaScript Simulations (EjsS) modeling tool. It is distributed as a ready-to-run (compiled) Java archive.
Please note that this resource requires
at least version 1.6 of Java (JRE).
Shooting Fish in a Barrel Source Code
The source code zip archive contains an XML representation of the Shooting Fish in a Barrel Model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 1027kb .zip
Last Modified: March 6, 2016
J. Taylor, Computer Program SHOOTING FISH IN A BARREL MODEL, Version 1.0 (2016), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374).
J. Taylor, Computer Program SHOOTING FISH IN A BARREL MODEL, Version 1.0 (2016), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374>.
Taylor, J. (2016). Shooting Fish in a Barrel Model (Version 1.0) [Computer software]. Retrieved November 6, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374
Taylor, Jack. "Shooting Fish in a Barrel Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374 (accessed 6 November 2024).
%A Jack Taylor %T Shooting Fish in a Barrel Model %D March 6, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374 %O 1.0 %O application/java
%0 Computer Program %A Taylor, Jack %D March 6, 2016 %T Shooting Fish in a Barrel Model %7 1.0 %8 March 6, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13993&DocID=4374
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.
Recreated on JavaScript with several bug fixes especially the ordinary differential equations events which I speculate cannot handle if loops. Re purposed for math prime numbers.