v0.1.0 — M1: Project Setup + Tilemap + Combat + Backend
Frontend: - HTML5 Canvas isometric tilemap renderer - Eichenhafen starting city (procedural) - Click-to-move A* pathfinding - Player stats, HP/SP/EXP bars, skill bar, minimap - 3 NPCs (merchant, class master, innkeeper) - 6 monster spawns with aggro AI - Combat: auto-attack, damage numbers, EXP/gold - Player death + respawn Backend: - FastAPI server with SQLite - Ollama LLM bridge for events + dialogue - Event validation (no soft-lock) - NPC dialogue generation Design: - Full DESIGN.md with architecture, formulas, milestones - 6 base classes + 6 advanced classes - 3 fixed cities, dynamic events
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Aether Chronicles — Backend
|
||||
|
||||
FastAPI server for LLM integration, game state persistence, and world event generation.
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install fastapi uvicorn ollama
|
||||
uvicorn main:app --reload --port 8000
|
||||
```
|
||||
|
||||
## Endpoints
|
||||
|
||||
- `GET /api/player` — Get player state
|
||||
- `POST /api/player/move` — Update player position
|
||||
- `GET /api/events/{map_id}` — Get active events for a map
|
||||
- `POST /api/llm/event` — Generate a new event via LLM
|
||||
- `POST /api/llm/dialogue` — Generate NPC dialogue via LLM
|
||||
Reference in New Issue
Block a user