Skip to content
Dwarf Fortress + Artificial Intelligence
C++ Other
  1. C++ 99.6%
  2. Other 0.4%
Branch: master
Clone or download
Pull request Compare This branch is 1034 commits ahead, 1 commit behind jjyg:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Add assertion system. Add bug report issue template. Jul 27, 2018
plans
rooms
schemas
test
thirdparty
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt Add assertion system. Add bug report issue template. Jul 27, 2018
LICENSE
README.md
ai.cpp
ai.h
apply.h
blueprint.cpp
blueprint.h
blueprint_furniture.cpp
blueprint_merge.cpp
blueprint_plan.cpp
blueprint_room.cpp
blueprint_template.cpp
camera.cpp
camera.h Use unique_ptr and references wherever possible. Jul 24, 2018
config.cpp
config.h
debug.h
df-ai.cpp
dfhack_shared.h
embark.cpp Fixes for GCC Jul 24, 2018
embark.h
event_manager.cpp
event_manager.h
exclusive_callback.cpp
exclusive_callback.h
hooks.cpp
hooks.h
log.cpp
military.cpp
pause.cpp
plan.cpp
plan.h
plan_legacy.cpp Use unique_ptr and references wherever possible. Jul 24, 2018
plan_priorities.cpp
plan_priorities.h
population.cpp
population.h
population_death.cpp
population_justice.cpp
population_military.cpp
population_nobles.cpp
population_occupations.cpp
population_pets.cpp
room.cpp
room.h Use unique_ptr and references wherever possible. Jul 24, 2018
stocks.cpp
stocks.h
stocks_detect.cpp
stocks_equipment.cpp
stocks_farm.cpp
stocks_find.cpp
stocks_forge.cpp
stocks_manager.cpp
stocks_queue.cpp Use unique_ptr and references wherever possible. Jul 24, 2018
stocks_trade.cpp
stocks_update.cpp
trade.h
trade_helpers.cpp
trade_manager.cpp
variable_string.cpp
variable_string.h
weblegends.cpp

README.md

Watch Dwarf Fortress play itself!

Plugin for DFHack.

Download a pre-built version from the releases page.

Want the latest (probably broken) changes? Download the latest version of df-ai compiled for the current DFHack version from BuildMaster.

Run enable df-ai in the dfhack console to start. Run help ai for a list of console commands.

Does not handle already started forts, but can resume from df-ai saves and handle fresh embarks. Check dfhack-config/df-ai.json for settings.

xkcd 1223

See the df-ai wiki for more information.

CodeFactor

You can’t perform that action at this time.