4x-game-agent
LLM-powered AI agent framework for 4X mobile strategy games (Rise of Kingdoms, Evony, Lords Mobile, etc.). 5-layer hybrid architecture: OCR → FSM → World Model → Workflows → LLM Vision. 99% cheaper than pure LLM approach.
File Explorer
- bug_report.md
- feature_request.md
- new_game.md
- ci.yml
- PULL_REQUEST_TEMPLATE.md
- __init__.py
- test_llm.py
- test_reflection.py
- __init__.py
- adb.py
- dashboard.py
- llm.py
- ocr.py
- reflection.py
- template_match.py
- devto_article.md
- hackernews.md
- reddit_gamedev.md
- reddit_machinelearning.md
- twitter.md
- adding-a-game.md
- architecture.md
- cost-analysis.md
- config.yaml
- coordinate_map.py
- knowledge.py
- main.py
- README.md
- screen_analyzer.py
- state_machine.py
- __init__.py
- building_finder.py
- config.yaml
- coordinate_map.py
- engine.py
- knowledge.py
- main.py
- ocr.py
- prompts.py
- README.md
- screen_analyzer.py
- state_machine.py
- strategy.py
- workflow_engine.py
- world_model.py
- .gitignore
- CLAUDE.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- Makefile
- pyproject.toml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
adb devices
View Details ▼
adb devices
List connected Android devices.
adb devices
List devices:
adb devices -l
List devices and their system info:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
