From 438cda831d0ee7d28e41cc7045d1efbc9a968c67 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 10 Aug 2023 14:20:03 +0200 Subject: Initial commit. Schema incomplete --- README.md | 3 +++ c++/schema.h | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 README.md create mode 100644 c++/schema.h diff --git a/README.md b/README.md new file mode 100644 index 0000000..6fd87e0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# CLI the Spire + +An implementation of the Slay The Spire logic on the command line. diff --git a/c++/schema.h b/c++/schema.h new file mode 100644 index 0000000..a4a86e6 --- /dev/null +++ b/c++/schema.h @@ -0,0 +1,74 @@ +#pragma once + +#include + +namespace kel { +namespace slay { +namespace schema { +using namespace saw::schema; + +using RunCampfireChoice = Struct< + Member, + Member +>; + +using RunDamageTaken = Struct< + Member, + Member, + Member, + Member +>; + +using RunPotionsObtained = Struct< + Member, + Member +>; + +using Run = Struct< + Member, "gold_per_floor">, + Member, + Member, + Member, "items_purged">, + Member, + Member, + Member, + // Member, + Member, "campfire_choices">, + Member, + Member, + Member, + Member, "master_deck">, + Member, "relics">, + Member, "potions_floor_usage">, + Member, "damage_taken">, + Member, + Member,"potions_obtained">, + // Member, + Member, "path_per_floor">, + Member, + // Member< , "items_purchased"> ???? + Member, + // Member< , "items_purchase_floors"> ???? + Member, "current_hp_per_floor">, + Member, + Member, + // Member, + // Member, + // Member, + Member, + Member, + Member, + Member, "path_taken">, + Member, + Member, + // Member, + Member, "max_hp_per_floor">, + // Member, "card_choices">, + Member, + // Member, "relics_obtained">, + +>; + +} +} +} -- cgit v1.2.3