Once the trade has been accepted it needs to be executed. For this the program should:
Remove the primary trader's offered pokemon from their collection and add them to the secondary traders collection
Removed the secondary trader's pokemon from their collection and add them to the primary trader's collection
Where the primary trader is the user who initiated the trade and the secondary trader is the user who accepted the trade. This should be reflected in the database.
Once the trade has been accepted it needs to be executed. For this the program should:
Where the primary trader is the user who initiated the trade and the secondary trader is the user who accepted the trade. This should be reflected in the database.