add force out of rect logic to simpleGame.js