RFID Canteen System (Fully Offline)

Helo guys!
I have been trying to make an RFID system that allows people to add and deduct amounts from an RFID card
The data/balance is stored in the RFID card itself.
I have been experimenting with MFRC522 Libraries read and write personal data examples yet I cannot bend them to my use. The current example allows you to add the firstname and surname in the RFID card and allows it to be read on a separate arduino.

I require the code to be bend into two ways

  1. One code that allows the arduino connected to a laptop to read an RFID card, display its current amount, add the amount that the user types in the serial monitor to the amount aldready in the RFID card

  2. The second code on a different Arduino that allows the RFID card's amount to be read and deducted based on a variable.

I have absolutely hit a wall as I'm not understanding the library. I tried reading the documentation but Its still hard.

If anyone could help me I would appreciate it!

Thanks

Without seeing what you have done, how can anyone tell you what you have done wrong.

Post some code that dosn't work. Say what you were hoping it would do and say what it is doing.

It is also probably worth it to make a diagram of how you intend using the various sectors on the card as well.