How do I transfer and store the information a player gives onto the next screen/database?

For my Computer Science class, we are working on a personal app project, and I was going to make an RPG-style game based on colors. The first thing the player needs to do is select which color they will be. The app is supposed to switch to the next screen, displaying what they chose and giving more info on the strengths and weaknesses of the color, and whether or not they want to continue or select a different color. What they chose is also supposed to be stored within the program so it will remember that color's values, so when they face opponents, it knows whether the player is at a disadvantage or is stronger, and knows which special moves to display.
Right now I really just need help with displaying what they picked on the first screen onto the second screen, but those are my goals for the rest of the app.
If anyone could direct me to any other topics that cover something similar to this, or could help me here, I would greatly appreciate it!
Thank you.

You can use the tinydb component to store and access data between screens

1 Like