animal race

this is pretty much brooks model with a duck added. my alert at the end doesnt work. it says undefined!