save local games. TODO: check whether a new move has been made or not