Skip to content

[Optional] Playing against AI #158

@DavidPedregal

Description

@DavidPedregal

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions