Skip to content
/ pokebot Public

🐍 (WIP) pokemon pocket bot, zig, LLM & RL

Notifications You must be signed in to change notification settings

kxzk/pokebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc23c3f Β· Apr 6, 2025

History

68 Commits
Apr 6, 2025
Mar 26, 2025
Mar 29, 2025
Mar 24, 2025
Mar 28, 2025
Apr 6, 2025
Mar 25, 2025
Mar 26, 2025
Mar 29, 2025
Mar 26, 2025
Mar 24, 2025
Mar 26, 2025
Mar 29, 2025
Mar 29, 2025
Mar 26, 2025

Repository files navigation



phone



screen_size: 1080x2340


references


  • limitless tcg deck builder
https://my.limitlesstcg.com/builder
  • scrape all card data
# GET
https://api.dotgg.gg/cgfw/getcards?game=pokepocket&mode=indexed&cache={cache_idx}
  • scrape all card image data
https://ptcgpocket.gg/cards/
  • static URL for card images
https://static.dotgg.gg/pokepocket/card/{card_number}.webp
  • name of app
jp.pokemon.pokemontcgp


openai models


# (if share, increased free token limits)
# ** - supports image upload
gpt-4o** -> (10 per 1M)
gpt-4o-mini** -> (0.60 per 1M))
gpt-4.5-preview** -> (150 per 1M)
o3-mini -> (4.40 per 1M)


scrcpy


./scrcpy --start-app=jp.pokemon.pokemontcgp
-Sw # stay-awake + turn-screen-off = prevent device from sleeping

--show-touches         # show touches


adb


adb shell pidof -s jp.pokemon.pokemontcgp # get pid
adb logcat --pid=<pid> # get logcat for pid

adb shell getevent -lt > touches.log # get touch events

adb shell ls # list files in device
adb shell rm # remove files in device

# screenshots
adb exec-out screencap -p > screen.png
adb shell screencap /sdcard/test.png
adb pull /sdcard/test.png test.png

adb shell wm size # get current resolution
adb shell input tap <X> <Y>           # tap
adb shell input swipe <X1> <Y1> <X2> <Y2> <duration> # swipe
adb shell input text 'Charmander' # type text

adb shell settings get system show_touches # get show_touches values


About

🐍 (WIP) pokemon pocket bot, zig, LLM & RL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published