Realization of fully frustrated Josephson-junction arrays with cold atoms