gakuran
このゲームは、地域に眠る歴史・文化・土地の記憶を「召喚キャラクター」として呼び起こし、対話しながら未来へ語り継ぐ探索ゲームです。 プレイヤーは3つのラウンドで地域課題に向き合い、行動を選択して判定を受けます。 あなたの選択によって旅の結末が変わり、最後にはキャラクターとともに、失われかけた物語を次の世代へつなぐ体験が得られます。 本作は、地域情報をもとにAIがキャラクターの設定と物語体験を動的生成する、WebベースのナラティブTRPGで
Core trick
Feeds regional place data into Gemini to generate local-history characters and judge each player action per round, with images from a separate model.
Description
このゲームは、地域に眠る歴史・文化・土地の記憶を「召喚キャラクター」として呼び起こし、対話しながら未来へ語り継ぐ探索ゲームです。
プレイヤーは3つのラウンドで地域課題に向き合い、行動を選択して判定を受けます。
あなたの選択によって旅の結末が変わり、最後にはキャラクターとともに、失われかけた物語を次の世代へつなぐ体験が得られます。
本作は、地域情報をもとにAIがキャラクターの設定と物語体験を動的生成する、WebベースのナラティブTRPGです。
バックエンドでは Google Places API で土地情報を取得し、Gemini API で「地域性を反映したキャラクター設定」「各ラウンドでの判定(行動評価)」を生成します。
画像生成はテキスト生成と分離したモデルで行い、召喚キャラクターやイベントビジュアルを自動生成してゲーム画面に反映しています。
フロントエンドは React + Vite、API サーバーは Node.js + Express で構成し、セッション管理・進行状態・判定結果をリアルタイムに連携することで、毎回異なる地域伝承体験を実現しています。
README excerpt
# React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
```js
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig