chess_logic_updated