game logic bug fixed.styles refactored. javascripts added