> For the complete documentation index, see [llms.txt](https://vincent-pho-wijaya-gitbook.gitbook.io/cross-check-game-design-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vincent-pho-wijaya-gitbook.gitbook.io/cross-check-game-design-document/artificial-intelligence.md).

# Artificial Intelligence

### A. Culprit Generator

AI will first generate and randomize a single culprit based on all available culprit characters. Then the rest of the cast will be selected randomly until 5 people including the culprit has been chosen

### B. Case Generator

AI will then generate a case with a form of motive and type of case (ex: theft, murder, etc.). This will be determined based on the background of the true culprit chosen by the culprit generator. Here, details about how the murder happened and relevant information will be predeterminedly provided for the AI.

### C. Clue Generator

Finally, AI will then generate clues based on the motive and true culprit. The list of clues are predetermined, but it will be randomized as to which clue will appear. Also, it's spawn location will be randomized based on the clue spawners set on the map.&#x20;

Note: Clue generator works for both sides of detective and forensics
