LAMaglan / PokeFightSimulator

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

Display type advantages in own page? #34

Closed LAMaglan closed 7 months ago

LAMaglan commented 8 months ago

I already have an endpoint for the type advantages (but transformed to nested dict)

@app.get("/type-advantages")
async def get_type_advantages():
    return type_advantages

original csv file available in data/types.csv

LAMaglan commented 7 months ago

Can use some simple javascript?