How to use this library:
copy paste that code you see in it and put it in a new script in your repl/project, link the script to the HTML: "
<script src = "yourScript.js"></script> "
now that you have done that copy this code and put it on your script for the game (not the jquery script):
After that copy paste this somewhere in a function (Yeah I know a lot is needed to be copy and pasted :p):
If you still don't understand what I am saying here's a link of the forked version of your game: https://run.cheesehasman.repl.co
but with all that aside, great game! (also you don't have to use the jquery but I'm just saying)