Refactor for GameBox and Length helper functions