Code viewer for World: jump/duck/hide (clone by ...

// Cloned by CA400_tst1 on 19 May 2019 from World "jump/duck/hide " by Alex Murphy 
// Please leave this clone trail here.
 
///////// Tweakers Box ///////////
var your_character = '/uploads/alexmurphy1996/finn.png';
var car_img = '/uploads/alexmurphy1996/car.png';
var bird_img = '/uploads/alexmurphy1996/bird.png';
var thief_img = '/uploads/alexmurphy1996/thief.png';

let speed = 5;

//////////////////////////////////


function action() {
   // Place code here
   if (runner=='thieves') {
       hide();
   }
   if (runner=='cars') {
       jump();
   }
   if (runner=='birds') {
       duck();
   }
   
   
   
}

function setup() {
    $.getScript ( "uploads/alexmurphy1996/lesson4_runjumphide_code.js", function() {
            preload();
            setup();
    });
}