NegotiationArena
NegotiationArena copied to clipboard
Accommodating offer rejection end condition
Issue: (Class AlternatingGameEndsOnTag) The end_tag was restricted to ACCEPTING_TAG only, causing the game to continue with invalid conversations when an offer was rejected. This led to incorrect game behavior.
Fix: Updated end_tag to be a list containing both ACCEPTING_TAG and REJECTION_TAG.
Impact:
Adjusted the game_over function to check if response is included in the end_tag list.
Ensured the game logic properly handles both accepted and rejected offers, improving game flow and correctness.