Two related bug fixes for gameplay accuracy: **Backend - play_resolver.py**: - Fixed DOUBLE2 advancement: Runners now advance exactly 2 bases * 1st → 3rd, 2nd → home, 3rd → home * Was incorrectly advancing all runners to home - Fixed DOUBLE3 advancement: Runners now advance exactly 3 bases * All runners score (1st+3=4, 2nd+3=5→4, 3rd+3=6→4) * Updated docstrings for clarity **Frontend - ManualOutcomeEntry.vue**: - Fixed hit location requirement logic * Now requires hit location when runners on base (any outs) * Was incorrectly restricting to only when outs < 2 * Hit location determines runner advancement regardless of outs These fixes ensure accurate Strat-O-Matic gameplay simulation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| .git-hooks | ||
| alembic/versions | ||
| app | ||
| scripts | ||
| terminal_client | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .python-version | ||
| CLAUDE.md | ||
| clean_test_data.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| mypy.ini | ||
| pyproject.toml | ||
| pyrightconfig.json | ||
| pytest.ini | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| TEST_COVERAGE_SUMMARY.md | ||
| test_db_playground.py | ||
| test_pd_api_live.py | ||
| test_pd_api_mock.py | ||
| test_redis_cache.py | ||
| uv.lock | ||
Paper Dynasty Backend
FastAPI-based real-time baseball game engine with WebSocket support.
Quick Start
# Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync
# Run server
uv run python -m app.main
Documentation
See CLAUDE.md for full documentation.