I need help with a save function for my rock paper scissors game. Please help?

Hey, am having the worst time trying to figure out how to make the save function work for my rock paper scissors game using yaml, could anyone help me? link to code is below.

rock paper scissors

Hello, please take a look at solutions of Project: File I/O and Serialization | The Odin Project
Below the task description there’s a list of student’s solutions, quite a few contain save functionality that is really similar to the one you ask for.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs