请帮我修正以下英文段落中的语法错误并重构句子，使其更通顺自然：“We was playing in the park last night and realized it was getting dark so we goes home.”
"We were playing in the park last night and realized it was getting dark, so we went home."