LAMaglan / PokeFightSimulator

A (simple) fight simulator between any two Pokemon using FastAPI with Jinja frontend
0 stars 0 forks source link

Types in fight logic #33

Closed LAMaglan closed 3 months ago

LAMaglan commented 3 months ago

Address https://github.com/LAMaglan/PokeFightSimulator/issues/9 Firstly, have csv file with type advantages. Parse to turn into nested dict. Load into FastAPI on startup Incorporate into battle_simulator() function, taking into account possible multiple types for each pokemon