added settings, rules and board functionality