added some game logic and sound effects