NegotiationArena icon indicating copy to clipboard operation
NegotiationArena copied to clipboard

Accommodating offer rejection end condition

Open ashishpanchal33 opened this issue 8 months ago • 0 comments

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.

ashishpanchal33 avatar Apr 19 '25 15:04 ashishpanchal33