saves and loads games with YAML