Hello guys, I have a problem again with my game :( my game should have can buy, sell, and look at our item that have been bought. My farm Game has two store. Garden store (buy, sell and look our plants) and Farm Store(buy, sell and look our animals). But the problem is when we buy some item, we must making a name for that item :(( For example: I buy a cow so I must give that cow a name and we must save the name in the file formated .txt. but if we want to sell our Item, it can delete a name in the file txt too. so when we look at our item it's show the file txt that include our items.
And I don't have any idea for doing that :( can anyone help me?? I don't understand how to use file formated .txt in greenfoot :(((
And how can we use the Scanner.in like usually we code in java ?? :(


