Added script.js and styles.css, included game logic