resetBoard finished but not tested yet.