If you'd like for your game to work on a mobile device, you'll need to add in a few additional event listeners:
touchmove. There are a few caveats with adding these as
clientY are not directly available within the event listeners' event objects. This video will show you workarounds for this and how to emulate a mobile device using chrome.