Added calcucation logic to game class