-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ratiotile edited this page Mar 21, 2017
·
4 revisions
Some people want to tweak a working bot, and others want to build it from scratch. The tweakers have many existing open-source bots to work from already. Too often the sandboxers want to do it all themselves and burn out quickly. This framework should help those who want the experience of assembling a bot themselves by providing the toolbox to avoid tedious low-level coding, and an architecture that guides users away from design problems.
Start with high-quality, modular components which have well-defined functions. Build towards a more complete AI skeleton.
- Micro: small-scale unit behavior - scouting, kiting, squads, drops
- Tactical: coordinated group behavior - army movement, tank pushes, defense
- Strategic: long term decision making - build orders, unit composition, economy
-
Libraries
- MiLi coroutines https://github.com/MariadeAnton/MiLi/blob/master/mili/coroutines.h Tiny, switch+macro.
- CO2 https://github.com/jamboree/co2 Promise+Lamba+Macro. Much faster then Boost.Coroutine
- C++14 Coroutines https://github.com/jbandela/stackless_coroutine Promise+Lambda. Needs testing and benchmarks
- Boost.Fiber https://github.com/boostorg/fiber
-
Frameworks
- CAF https://actor-framework.org/ - C++ Actor Framework, message passing and promise-chain style async. Although it may have some network baggage.
- QP Framework http://www.state-machine.com/qpcpp/index.html- actors, generated from UML state machines. Targeted towards realtime systems.
Reactive programming to events.
- Fast signals libraries
- https://github.com/NoAvailableAlias/nano-signal-slot
- https://github.com/miguelmartin75/Wink-Signals
- LibSig++ slower but safer http://libsigc.sourceforge.net/index.shtml
- C++11 Impossibly fast delegates, https://github.com/marcmo/delegates