consolidated and refactored checkers and chess layouts