prompt description

This commit is contained in:
cdemeyer-teachx
2025-08-14 18:55:20 +09:00
parent 943d016e29
commit 0f0faf5666

1
Prompts/3-TypeMultiplier Normal file
View File

@@ -0,0 +1 @@
This repo is the start of a high performant pokemon battle simulator. I want you to write a cpp file for pokemon types. I want you to define what a Type is and a function that calculates damage given the 2 types of the pokemon (1 can be none), the type of the attack, and the damage. This should be as performant as possible. Please write unit tests and benchmark tests with different implementations and see which one is more performant. You can find the type multipliers inside the data/type_effectiveness_generation_*.json files. Rapidjson is included in the project. Make sure there are multiple functions for each pokemon generation, preferably using a template.