Skip to content

[Optional] Playing against AI #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DavidPedregal opened this issue Apr 1, 2025 · 0 comments
Open

[Optional] Playing against AI #158

DavidPedregal opened this issue Apr 1, 2025 · 0 comments
Assignees

Comments

@DavidPedregal
Copy link

DavidPedregal commented Apr 1, 2025

In the custom game mode, the player should be able to choose to play against the AI.

Behavior proposal

Since the AI might answer every question right, add a small probability (10-20%) that the question is answered randomly.

Proposal 2 (better)

Actually, there is no need to use the LLM to answer the questions, since we have the correct answers when we load the questions, we can make like 4 difficulties:

  • Easy: full random
  • Medium: 50% guaranteed correct answers, 50% random
  • Hard: 70% guaranteed correct answers, 30% random
  • Hell: 100% guaranteed

If we want the LLM to be part of this, we can ask it to choose a number between 1 and 4 (if the number of answers is 4) without any further information, and make the LLM asnwer to be the question answer.

Interaction

When the user chooses an answer, AI's answer will also be marked so that the user knows it's performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant