Nov-17-2020, 07:57 PM
(This post was last modified: Nov-17-2020, 07:57 PM by Scordomaniac.)
So i am trying to make a game using python, and i want to save the amount of coins the player has after they earn coins using pickle, but i have no idea how to do this. let's say i got 10 coins, and i already have 59 coins, i want to write to the file that i have 69 coins, also i want to be able to print the amount of coins the player has when they input 'pls bal' and take the data from the pickle data save thingy and have that.
Larz60+ write Nov-17-2020, 07:55 PM:
Please don't change text color, which may not display properly in all themes.
Forum Colors have been carefully selected, and change to highlight various features.
Please don't change text color, which may not display properly in all themes.
Forum Colors have been carefully selected, and change to highlight various features.