drawing gameboard from given puzzle and game logic extended