more game logic. implemented check for game over state, and added board initialization on page load