Rewrite ai "yes / no question" function. #10

Closed
opened 2023-04-11 08:05:23 +00:00 by LunarTides · 0 comments
LunarTides commented 2023-04-11 08:05:23 +00:00 (Migrated from github.com)

Currently the ai just says "No", regardless of the input. Make it a bit smarter. Might be redundant once/if the new ai system is in place.

Context:

ret = 'N'; // TODO: Make this whole function better

this.history.push(["yesNoQuestion", [prompt, ret]]);

return ret;

- /src/ai.js:yesNoQuestion

Currently the ai just says "No", regardless of the input. Make it a bit smarter. Might be redundant once/if the new ai system is in place. Context: ```javascript ret = 'N'; // TODO: Make this whole function better this.history.push(["yesNoQuestion", [prompt, ret]]); return ret; ``` \- /src/ai.js:yesNoQuestion
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunarTides/Hearthstone.js#10
No description provided.