move game logic from Baord class to new Game class and make new react class to display game information