# Designing A Game: A Simple Chatbot

A long-term objective of TaroTarot AI is to offer seekers a space for lively comfort. Given my current frontend stack **Vite/React/CSS**,  [Socket.IO](chatgpt://generic-entity?number=0) is a natural choice for implementing multi-session chat in React. I admire their documentation and whole heartedly thank this community.&#x20;

The objective's motif stems in my personal experience while reading tarot spreads. As my anxiety heightens, I don't just merely want an answer but clarity where it feels immediate and conversational. Ironic that this same yearning can become distortion and an enemy to the humble truth the cards are pointing toward. &#x20;

## Objectives

Subsetting my objective to smaller and simple "objects", "classes" or *hooks.*&#x20;

> * **The goal is to let seekers wait in queue with estimated wait times.**&#x20;
> * **The goal is to no longer have the frontend shake hands with my backend, but also the Generative models against my models.**

{% hint style="warning" %}
KEY TERMS

* agent = AI = gemini = server
* human = user = mimi = client&#x20;
  {% endhint %}

## Event Based Cases

### 1.1 *User enters chat*&#x20;

This event narrates the beginning stage of the user's chatting experience relative to my Providers and hooks in React.

{% hint style="info" %}
`member` : User is authorized by Google Firebase.

`anon`: User has been asigned with a random UID indicating they have previously tried out other features in the site.

`guest`: User is a guest / visitor and has not tried any feature.
{% endhint %}

{% @mermaid/diagram content="graph TD
A\[User Enter ChatQueue] --> B\[User Type?]
B --> C\[member] --> G\[Daily Chat Used?] --> H\[Yes] --> I\[Stripe PLUS]
G --> J\[No] --> K\[Use]

```
B --> D[anon]
B --> E[guest]

D --> F[3 Minute Demo Chat]
E --> F" %}
```


---

# 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://whoamimi.gitbook.io/blog/projects/tarotarot-ai-fortune-teller/designing-multichatrooms.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.
