prompt description
This commit is contained in:
1
Prompts/3-TypeMultiplier
Normal file
1
Prompts/3-TypeMultiplier
Normal 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.
|
||||
Reference in New Issue
Block a user