- end-to-end Data parsing / RL / macro tool for Sword Growing (검키우기) game in KakaoTalk Gamebot
- RL environment to build agent
- Macro support (on Macbook yet)
- Preliminaries:
uv - Sync your python env
make init
- Set rl/config.py
CHAT_OUTPUT_COORD: coordinate of chatbot outputCHAT_INPUT_COORD: coordinate of your input box
- Run macro
make macro
- Functions
F1,F2is hotkey for "강화", "판매" respectivelyF3starts loop based on AI inferenceF4starts loop based on rule-based strategyF5quits program
- Used PPO algorithm using SB3
- Makefile script for convenient training
Make train: start trainingMake test: test 1000 timesteps and plot
- Export Kakaotalk chat log
- put .csv file to
./data/* - run
process_data.ipynb
- Trained RL agent is used for inference
- Rule-based policy
- If
LEVEL_THRESHOLDachieved, if fail count surpassesFAIL_COUNT_THRESHOLD, sell current sword - refer to
rl/config.py
- If
F1: 강화F2: 판매F3: AI inference (loop)F4: Heuristic inference (loop)F5: 매크로 종료
- Windows support
- More training
- More data collection (for better environment modeling)