OhMyGame
OhMyGame is the open-source studio for making games with AI. Design, build, playtest, and publish games in one app, with your own model keys.
MSBS-Next Simulator: Mobile Suit Battle Simulator
Translation pending
GamesPython · TypeScriptGitHub @HyperGeniusAvailability needs another checkOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗ブラウザベースの定期更新型MSバトルシミュレーションゲーム
MSBS-Next は、モビルスーツ(MS)をカスタマイズし、戦術を設定して自動シミュレーションバトルに参加する定期更新型タクティカルシミュレーションゲームです。MSBSのプレイ感を現代的なクラウドネイティブ技術で再現・進化させることを目的としています。
準備期間(プレイヤー操作)
├─ 機体カスタマイズ(装備・強化)
├─ 戦術設定(ターゲット優先度・交戦距離)
└─ 次回バトルへのエントリー
↓
更新処理(自動実行 - 毎日JST 21:00)
├─ マッチング(8-16機でルーム編成)
├─ NPC自動生成
└─ バトルシミュレーション実行
↓
結果閲覧
├─ 3Dリプレイ確認
├─ 経験値・報酬獲得
└─ 戦績記録
| 領域 | 技術 |
|---|---|
| Frontend | Next.js 15 (App Router), TypeScript, Tailwind CSS |
| 3D Graphics | React Three Fiber, @react-three/drei |
| Backend | Python 3.11, FastAPI, Pydantic v2, SQLModel |
| Simulation | NumPy (ベクトル計算), Pure Python Logic |
| Database | Neon (PostgreSQL), Alembic |
| Auth | Clerk (JWT/JWKS) |
| Infrastructure | Vercel (Frontend), Cloud Run (Backend), Terraform (Neon) |
git clone https://github.com/HyperGenius/msbs-next.git
cd msbs-next
cd backend
# 依存関係のインストール(.venv を作成し、開発ツールも入れる)
uv sync
# 環境変数の設定
cp .env.example .env
# .envファイルを編集してNeon接続情報とClerk設定を記入
# データベースマイグレーション
uv run alembic upgrade head
# シードデータの投入
uv run python scripts/seed.py
cd frontend
# 依存関係のインストール
npm install
# 環境変数の設定
cp .env.example .env.local
# .env.localファイルを編集してClerk設定を記入
Backend (ターミナル1):
cd backend
uvicorn main:app --reload
Frontend (ターミナル2):
cd frontend
npm run dev
本番環境(Vercel + Cloud Run)へのデプロイ手順については、デプロイガイドを参照してください。
msbs-next/
├── backend/ # Python/FastAPI バックエンド
│ ├── app/
│ │ ├── core/ # 設定、スキル定義
│ │ ├── db/ # DB接続
│ │ ├── models/ # SQLModel (ORM) & Pydantic
│ │ ├── routers/ # APIエンドポイント
│ │ ├── services/ # ビジネスロジック
│ │ └── engine/ # バトルシミュレーションエンジン
│ ├── alembic/ # DBマイグレーション
│ ├── scripts/ # バッチ処理、シードデータ
│ └── tests/ # ユニット & 統合テスト
│
├── frontend/ # Next.js フロントエンド
│ └── src/
│ ├── app/ # App Router ページ
│ ├── components/ # UIコンポーネント
│ │ ├── ui/ # SciFiデザインシステム
│ │ ├── BattleViewer/ # 3Dバトルビューア
│ │ └── Dashboard/ # ダッシュボード
│ ├── services/ # API呼び出し
│ └── types/ # TypeScript型定義
│
├── docs/ # プロジェクトドキュメント
│ ├── roadmaps/ # ロードマップ類
│ │ └── roadmap.md # 開発ロードマップ ⭐
│ ├── reports/ # 実装レポート
│ ├── NEXT_STEPS.md # 開発優先度ガイド
│ └── ... # 各種実装ガイド
│
└── infra/ # Infrastructure as Code
└── neon/ # Terraform (Neon DB)
cd backend
# 全テスト実行
uv run pytest
# カバレッジ付き
uv run pytest --cov=app --cov-report=html
# 特定のテスト
uv run pytest tests/unit/test_simulation.py
cd frontend
# E2Eテスト(準備中)
npm run test:e2e
# 依存関係の追加(pyproject.toml と uv.lock が更新される)
uv add <package> # 本番の依存
uv add --dev <package> # 開発ツール
# バッチ処理の手動実行
uv run python scripts/run_batch.py
# マイグレーション作成
uv run alembic revision --autogenerate -m "description"
# Linter & Formatter
uv run ruff check . # チェックのみ
uv run ruff check --fix . # 自動修正
uv run ruff format . # フォーマット
# 型チェック
uv run mypy .
# 型チェック
npm run type-check
# Lint
npm run lint
# Build
npm run build
feature/機能名 or fix/バグ名.github/copilot-instructions.md参照)コントリビューション歓迎です!以下を参照してください:
このプロジェクトは開発中のプロトタイプです。ライセンスは未定です。
Developed with ❤️ using GitHub Copilot and modern web technologies