From 0f0faf56661230bda8d2083f01bfc0c08fa32c05 Mon Sep 17 00:00:00 2001 From: cdemeyer-teachx Date: Thu, 14 Aug 2025 18:55:20 +0900 Subject: [PATCH] prompt description --- Prompts/3-TypeMultiplier | 1 + 1 file changed, 1 insertion(+) create mode 100644 Prompts/3-TypeMultiplier diff --git a/Prompts/3-TypeMultiplier b/Prompts/3-TypeMultiplier new file mode 100644 index 0000000..491dbce --- /dev/null +++ b/Prompts/3-TypeMultiplier @@ -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. \ No newline at end of file