# Tutorials

- [Beginner Experiment: Prisoner's Dilemma](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma.md)
- [Part 1: Before you start](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-1-before-you-start.md)
- [Part 2: Creating the Experiment in Empirica](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-2-creating-the-experiment-in-empirica.md)
- [Part 3: Getting Accustomed to the Code](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-3-getting-accustomed-to-the-code.md)
- [Part 4: Coding the Prisoner's Dilemma Game](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game.md)
- [Part 4.1: Removing example code](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.1-removing-example-code.md)
- [Part 4.2: Intro Text](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.2-intro-text.md)
- [Part 4.3: Set up the game stages](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.3-set-up-the-game-stages.md)
- [Part 4.4: Build the "Choice" React Component](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.4-build-the-choice-react-component.md)
- [Part 4.5: Build the "Result" React Component](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.5-build-the-result-react-component.md)
- [Part 4.6: Compute the Score](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-4-coding-the-prisoners-dilemma-game/part-4.6-compute-the-score.md)
- [Part 5: Customizing the experiment](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-5-customizing-the-experiment.md)
- [Part 5.1: Changing the number of rounds](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-5-customizing-the-experiment/part-5.1-changing-the-number-of-rounds.md)
- [Part 5.2: Turning the chat on and off](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-5-customizing-the-experiment/part-5.2-turning-the-chat-on-and-off.md)
- [Part 6: Deployment](https://docs.empirica.ly/tutorials/beginner-experiment-prisoners-dilemma/part-6-deployment.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.empirica.ly/tutorials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
