# 플레이 수 표시

### 1️⃣ 참여한 인원수 텍스트 추가

* 페이지에 텍스트 엘리먼트(AppText)를 추가해 주세요.
* 텍스트 내용을 아래와 같이 입력해 주세요.

```
${playcount} 명이 참여 하였어요!
```

* 여기서 ${playcount} 부분에 심리테스트에 참여한 인원수가 표시되게 됩니다.

<figure><img src="https://static.waveon.io/img/guide/show-play-count.png" alt=""><figcaption></figcaption></figure>

### 2️⃣ 참여한 인원수 서버에서 가져오기

* 생성하신 텍스트 엘리먼트에 아래와 같은 로직을 추가해 주세요. ([로직 시작하기](/logic/basic.md) 참고) &#x20;

<figure><img src="/files/DEqd4kjDTOym0AGg1oRC" alt=""><figcaption></figcaption></figure>

<figure><img src="https://static.waveon.io/img/guide/show-play-count-logic-full-screen.png" alt=""><figcaption></figcaption></figure>

* 위에서 설정한 로직을 통해 playcount를 서버에서 가져오도록 설정 하였습니다.

### 3️⃣ 완료 시 플레이 수 증가

* 심리테스트를 완료하였을 경우에 플레이 수를 증가해 주어야 합니다.
* 원하는 페이지 또는 모든 결과 페이지에 아래와 같이 로직을 추가해 주세요.\ <br>

  <figure><img src="https://static.waveon.io/img/guide/show-play-count-save-logic-fullscreen.png" alt=""><figcaption></figcaption></figure>

  <figure><img src="https://static.waveon.io/img/guide/show-play-count-save-logic.png" alt=""><figcaption></figcaption></figure>
* 위와 같이 로직을 설정하면 playcount 에 1을 더해 주어 저장하게 됩니다.


---

# 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.waveon.io/quiz-deprecated/show-play-count.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.
