How ethanmiku/csc325_capstone works
Blackwood Manor is a Godot mystery game with a Django dialogue MVP. The player explores linked rooms, gathers clues, and interviews suspects; the documented dialogue flow validates a request, loads session/NPC history, generates a reply, and saves the exchange. The backend also includes a sample clue endpoint, while player progress and game-session APIs are described as planned capabilities. Source excerpts show the dialogue internals; game wiring and several backend features are represented only at the directory level, so their internal links are omitted.
Main entry points: views.py Dialogue Endpoint · claude_dialogue.gd Dialogue Client · player.gd Exploration · history.py Conversation History
Components 17
Godot Game
- Exploration
game/entities/player/player.gd - Manor Rooms
game/maps - Dialogue Client
game/services/claude_dialogue/claude_dialogue.gd - Game UI
game/ui
Django API
- API Configuration
backend/config/settings.py - Dialogue Endpoint
backend/dialogue/views.py - Request Validation
backend/dialogue/serializers.py - Error Handling
backend/dialogue/exceptions.py - Clue Endpoint
backend/evidence/views.py - Progress APIs
backend
Dialogue Data
- Conversation History
backend/dialogue/history.py - Dialogue Records
backend/dialogue/models.py - NPC Profiles
backend/dialogue/npc_data.py - Prompt Builder
backend/dialogue/prompts.py
External Services
- MongoDB
- Claude API
Other components
- Player
Connections 17
- Player → Exploration: controls
README.md - Exploration → Manor Rooms: explores
README.md - Player → Game UI: uses
README.md - Dialogue Client → Game UI: presents replies
- Dialogue Client → Dialogue Endpoint: HTTP requests
README.md - Dialogue Endpoint → Request Validation: validates
backend/dialogue/views.py - Dialogue Endpoint → Conversation History: loads and saves
backend/dialogue/views.py - Dialogue Endpoint → Error Handling: handles errors
backend/dialogue/views.py - Dialogue Endpoint → Claude API: requests replies
- Dialogue Endpoint → MongoDB: persists exchanges
README.md - Conversation History → Dialogue Records: reads and writes
backend/dialogue/history.py - Dialogue Endpoint → NPC Profiles: loads profile
- Dialogue Endpoint → Prompt Builder: builds prompt
- API Configuration → MongoDB: configures database
backend/config/settings.py - Clue Endpoint → Dialogue Client: serves clue data
- Progress APIs → MongoDB: planned persistence
README.md - Claude API → Dialogue Endpoint: returns reply