Create gamelogic.js