improving c jam script and making the game run