added row clearing and board clearing on lose