akai-org / akai-org/mafiakai

Create a persona on room join

Đang mở
#16 1 bình luận 0 reaction 1 người được giao Được @adampawelka nhận Xem trên GitHub
backend enhancement
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When a new player joins a room they are presented with a role in the game (mafioso, citizen, detective, ...). One of the ideas from the last meeting was to spice things up they could also be given an example persona as whom they could act. Some of the supplied info could be: name, age, profession, relations others.
This functionality could be injected into on success server response to a player joining a room. It is not mandatory for the game to function, but it could very well be a fun task to play around with.

Implementation considerations:

- have a look at the faker-js package
-
-
- choose the `pl` or `en` locale

- try to experiment with LLM APIs
- Google Gemini has a fairly generous free tier
- Beware of hardcoding API keys into code that is versioned by Git
- preferably read that from a `.env` file and ensure that it is present in `.gitignore`
- sample guide:

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.