Refactoring gameboard week 5