https://github.com/ut42tech/llmeta-server
[WIP] Server-Side of Project LLMeta
https://github.com/ut42tech/llmeta-server
Last synced: about 1 month ago
JSON representation
[WIP] Server-Side of Project LLMeta
- Host: GitHub
- URL: https://github.com/ut42tech/llmeta-server
- Owner: ut42tech
- Created: 2025-07-06T14:00:16.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-11-17T06:00:35.000Z (8 months ago)
- Last Synced: 2025-11-17T08:12:52.388Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project LLMeta サーバー
Project LLMeta のバックエンドを担う Colyseus サーバーです。プレイヤーの位置や回転など、メタバースのリアルタイムな状態同期を管理します。
## 技術スタック
- **フレームワーク:** [Colyseus](https://www.colyseus.io/)
- **言語:** [TypeScript](https://www.typescriptlang.org/)
## 実行方法
1. 依存関係をインストールします。
```bash
npm install
```
2. サーバーを起動します。
```bash
npm start
```
サーバーはデフォルトで `ws://localhost:2567` でリクエストを待ち受けます。
## ディレクトリ構成
- **`src/index.ts`**: メインエントリポイント。ルームハンドラの登録などを行います。
- **`src/rooms/MyRoom.ts`**: ゲームロジックを実装するルームハンドラ。
- **`src/rooms/schema/MyRoomState.ts`**: ルームの状態を定義するスキーマ。
- **`loadtest/example.ts`**: 負荷テスト用のクライアントスクリプト。